Allow augmenting CPPFLAGS from the configure command line. This generally

works, but some platform templates overwrote it without asking.
This commit is contained in:
Peter Eisentraut 2006-12-12 19:43:19 +00:00
parent 876ef5d5c9
commit 9cf2706742
2 changed files with 4 additions and 4 deletions

View File

@ -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"

View File

@ -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"