6
6
# Copyright (c) 1994, Regents of the University of California
7
7
#
8
8
# 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 $
10
10
#
11
11
# -------------------------------------------------------------------------
12
12
@@ -18,18 +18,11 @@ SRCDIR= @top_srcdir@
18
18
include $(SRCDIR ) /Makefile.global
19
19
20
20
CXX =@CXX@
21
+ CXXFLAGS =@CXXFLAGS@
21
22
22
23
SRCHEADERDIR =$(SRCDIR ) /include
23
24
LIBPQHEADERDIR =$(SRCHEADERDIR ) /libpq
24
25
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
-
33
26
CXXFLAGS+ = -I$(SRCDIR ) /backend\
34
27
-I$(SRCHEADERDIR ) \
35
28
-I$(LIBPQDIR )
@@ -62,7 +55,7 @@ include $(SRCDIR)/Makefile.shlib
62
55
63
56
64
57
# Pull shared-lib CFLAGS into CXXFLAGS
65
- CXXFLAGS+ =$(CFLAGS )
58
+ CXXFLAGS+ =$(CFLAGS_SL )
66
59
67
60
68
61
.PHONY : examples