66# Copyright (c) 1994, Regents of the University of California
77#
88# IDENTIFICATION
9- # $Header: /cvsroot/pgsql/src/interfaces/libpq++/Attic/Makefile.in,v 1.22 2000/03/16 15:34 :36momjian Exp $
9+ # $Header: /cvsroot/pgsql/src/interfaces/libpq++/Attic/Makefile.in,v 1.23 2000/03/31 05:00 :36tgl Exp $
1010#
1111# -------------------------------------------------------------------------
1212
@@ -18,18 +18,11 @@ SRCDIR= @top_srcdir@
1818include $(SRCDIR ) /Makefile.global
1919
2020CXX =@CXX@
21+ CXXFLAGS =@CXXFLAGS@
2122
2223SRCHEADERDIR =$(SRCDIR ) /include
2324LIBPQHEADERDIR =$(SRCHEADERDIR ) /libpq
2425
25- # We have to override -Werror, which makes warnings fatal, because we
26- # inevitably get the warning, "abstract declarator used as declaration"
27- # because of our inclusion of c.h and we don't know how to stop that.
28-
29- ifeq ($(CXX ) , g++)
30- CXXFLAGS+ = -Wno-error
31- endif
32-
3326CXXFLAGS+ = -I$(SRCDIR ) /backend\
3427 -I$(SRCHEADERDIR ) \
3528 -I$(LIBPQDIR )
@@ -62,7 +55,7 @@ include $(SRCDIR)/Makefile.shlib
6255
6356
6457# Pull shared-lib CFLAGS into CXXFLAGS
65- CXXFLAGS+ =$(CFLAGS )
58+ CXXFLAGS+ =$(CFLAGS_SL )
6659
6760
6861.PHONY : examples