summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Eisentraut2006-12-12 19:43:19 +0000
committerPeter Eisentraut2006-12-12 19:43:19 +0000
commit30ae8268cb6772072925eedfd2223c5217eceacd (patch)
tree6ca8a53c5974fec56f48d261a9b8b70e889676cf
parent95494f86f86cd19cf484aa214fb5b5bcb9c90238 (diff)
Allow augmenting CPPFLAGS from the configure command line. This generally
works, but some platform templates overwrote it without asking.
-rw-r--r--src/template/hpux2
-rw-r--r--src/template/linux2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/template/hpux b/src/template/hpux
index 779c9ca7eb..0838c46583 100644
--- a/src/template/hpux
+++ b/src/template/hpux
@@ -1,6 +1,6 @@
# $PostgreSQL$
-CPPFLAGS="-D_XOPEN_SOURCE_EXTENDED"
+CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE_EXTENDED"
if test "$GCC" != yes ; then
CC="$CC -Ae"
diff --git a/src/template/linux b/src/template/linux
index 4b415ceb52..48e448716d 100644
--- a/src/template/linux
+++ b/src/template/linux
@@ -1,4 +1,4 @@
# $PostgreSQL$
# Force _GNU_SOURCE on; plperl is broken with Perl 5.8.0 otherwise
-CPPFLAGS="-D_GNU_SOURCE"
+CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE"