diff --git a/src/interfaces/libpq++/Makefile.in b/src/interfaces/libpq++/Makefile.in index 38c56c12a4c1f5d051a6acc5adb69f9c2d4bea90..811d743ae9496d21409938bfa8c79aa1ffdceb5c 100644 --- a/src/interfaces/libpq++/Makefile.in +++ b/src/interfaces/libpq++/Makefile.in @@ -7,7 +7,7 @@ # # # IDENTIFICATION -# $Header: /cvsroot/pgsql/src/interfaces/libpq++/Attic/Makefile.in,v 1.1 1998/09/11 16:56:23 momjian Exp $ +# $Header: /cvsroot/pgsql/src/interfaces/libpq++/Attic/Makefile.in,v 1.2 1998/09/13 04:00:41 momjian Exp $ # #------------------------------------------------------------------------- @@ -20,6 +20,8 @@ LIBNAME= libpq++ CXX=@CXX@ +PORTNAME=@PORTNAME@ + # We have to override -Werror, which makes warnings, fatal, because we # inevitably get the warning, "abstract declarator used as declaration" # because of our inclusion of c.h and we don't know how to stop that. @@ -67,6 +69,10 @@ ifeq ($(PORTNAME), unixware) shlib := libpq.so.1 LDFLAGS_SL = -G -z text CFLAGS += $(CFLAGS_SL) + ifeq ($(CXX), CC) + CXXFLAGS += -Xw + COMPILE.cc = $(CXX) $(CXXFLAGS:ll,alloca=ll) $(CPPFLAGS) $(TARGET_ARCH) -c + endif endif ifeq ($(PORTNAME), univel) @@ -74,6 +80,10 @@ ifeq ($(PORTNAME), univel) shlib := libpq.so.1 LDFLAGS_SL = -G -z text CFLAGS += $(CFLAGS_SL) + ifeq ($(CXX), CC) + CXXFLAGS += -Xw + COMPILE.cc = $(CXX) $(CXXFLAGS:ll,alloca=ll) $(CPPFLAGS) $(TARGET_ARCH) -c + endif endif ifeq ($(PORTNAME), hpux) diff --git a/src/template/univel b/src/template/univel index 21b85926638efe94c9cb006a79f2c135f0b69605..dcdfae8af4a8b7f8720a8d7da31e20b51231df87 100644 --- a/src/template/univel +++ b/src/template/univel @@ -1,5 +1,5 @@ AROPT:crs -CFLAGS:-Xa -v -O -K i486,host,inline,loop_unroll -Dsvr4 +CFLAGS:-v -O -K i486,host,inline,loop_unroll -Dsvr4 SHARED_LIB:-K PIC SRCH_INC: SRCH_LIB: diff --git a/src/template/unixware b/src/template/unixware index a174807cb3775b11c910dc1dd415aaff2cde37e3..0dd81b5c2d78a1c66c8103f5928b100544fed88e 100644 --- a/src/template/unixware +++ b/src/template/unixware @@ -1,5 +1,5 @@ AROPT:crs -CFLAGS:-Xa -v -O -K i486,host,inline,loop_unroll,alloca -Dsvr4 +CFLAGS:-O -K i486,host,inline,loop_unroll,alloca -Dsvr4 SHARED_LIB:-K PIC SRCH_INC:/opt/include SRCH_LIB:/opt/lib