aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarc G. Fournier <scrappy@hub.org>1998-02-24 03:23:52 +0000
committerMarc G. Fournier <scrappy@hub.org>1998-02-24 03:23:52 +0000
commit751ebd20a04ea38ae3412b5c2a1fec5efd36ef8d (patch)
tree2bfb3b67a8504f4d02b571e2610dc1f9faa4540b /src
parent906d5cc05141e5b68b5717f2c0fd3edfca7495a6 (diff)
downloadpostgresql-751ebd20a04ea38ae3412b5c2a1fec5efd36ef8d.tar.gz
postgresql-751ebd20a04ea38ae3412b5c2a1fec5efd36ef8d.zip
Various fixes for ecpg to remove compiler dependency...
From: Darren King <darrenk@insightdist.com>
Diffstat (limited to 'src')
-rw-r--r--src/interfaces/ecpg/lib/Makefile.in4
-rw-r--r--src/interfaces/ecpg/preproc/Makefile5
2 files changed, 4 insertions, 5 deletions
diff --git a/src/interfaces/ecpg/lib/Makefile.in b/src/interfaces/ecpg/lib/Makefile.in
index 97c4c809033..19a32d8c420 100644
--- a/src/interfaces/ecpg/lib/Makefile.in
+++ b/src/interfaces/ecpg/lib/Makefile.in
@@ -61,6 +61,6 @@ uninstall::
libecpg.a : libecpg.a(ecpglib.o) libecpg.a(typename.o)
ecpglib.o : ecpglib.c ../include/ecpglib.h ../include/ecpgtype.h
- $(CC) -O2 -g -Wall -I../include $(PQ_INCLUDE) -c ecpglib.c
+ $(CC) -Wall -I../include $(PQ_INCLUDE) -c ecpglib.c
typename.o : typename.c ../include/ecpgtype.h
- $(CC) -g -O2 -Wall -I../include $(PQ_INCLUDE) -c typename.c
+ $(CC) -Wall -I../include $(PQ_INCLUDE) -c typename.c
diff --git a/src/interfaces/ecpg/preproc/Makefile b/src/interfaces/ecpg/preproc/Makefile
index 9a170eabb3b..1cb96989bca 100644
--- a/src/interfaces/ecpg/preproc/Makefile
+++ b/src/interfaces/ecpg/preproc/Makefile
@@ -1,4 +1,3 @@
-# Generated automatically from Makefile.in by configure.
SRCDIR= ../../..
include $(SRCDIR)/Makefile.global
@@ -6,7 +5,7 @@ MAJOR_VERSION=1
MINOR_VERSION=0
PATCHLEVEL=0
-CFLAGS=-I../include -O2 -g -Wall -DMAJOR_VERSION=$(MAJOR_VERSION) -DMINOR_VERSION=$(MINOR_VERSION) -DPATCHLEVEL=$(PATCHLEVEL)
+CFLAGS=-I../include -Wall -DMAJOR_VERSION=$(MAJOR_VERSION) -DMINOR_VERSION=$(MINOR_VERSION) -DPATCHLEVEL=$(PATCHLEVEL)
all:: ecpg
@@ -21,7 +20,7 @@ uninstall:
# Rule that really do something.
ecpg: y.tab.o pgc.o type.o ecpg.o ../lib/typename.o
- $(CC) -g -O2 -Wall -o ecpg y.tab.o pgc.o type.o ecpg.o ../lib/typename.o $(LEXLIB)
+ $(CC) -Wall -o ecpg y.tab.o pgc.o type.o ecpg.o ../lib/typename.o $(LEXLIB)
y.tab.h y.tab.c: preproc.y
$(YACC) $(YFLAGS) $<