From 9cf2706742313c2c68984f2b9ef300f629a6975b Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Tue, 12 Dec 2006 19:43:19 +0000 Subject: [PATCH] Allow augmenting CPPFLAGS from the configure command line. This generally works, but some platform templates overwrote it without asking. --- src/template/hpux | 4 ++-- src/template/linux | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/template/hpux b/src/template/hpux index d8b5529b87..a0d0b59f1f 100644 --- a/src/template/hpux +++ b/src/template/hpux @@ -1,6 +1,6 @@ -# $PostgreSQL: pgsql/src/template/hpux,v 1.15 2006/03/11 04:38:41 momjian Exp $ +# $PostgreSQL: pgsql/src/template/hpux,v 1.16 2006/12/12 19:43:19 petere Exp $ -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 6293e6a03a..dff0eca6f1 100644 --- a/src/template/linux +++ b/src/template/linux @@ -1,4 +1,4 @@ -# $PostgreSQL: pgsql/src/template/linux,v 1.28 2006/03/11 04:38:41 momjian Exp $ +# $PostgreSQL: pgsql/src/template/linux,v 1.29 2006/12/12 19:43:19 petere Exp $ # Force _GNU_SOURCE on; plperl is broken with Perl 5.8.0 otherwise -CPPFLAGS="-D_GNU_SOURCE" +CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE"