packages/libs/postgresql/patches/750-configure-honor-cppflags.patch

9 lines
386 B
Diff
Raw Normal View History

--- postgresql-8.2.3/src/template/linux 2006-03-10 22:38:41.000000000 -0600
+++ new-postgresql-8.2.3/src/template/linux 2007-04-09 12:15:36.223301500 -0500
@@ -1,4 +1,4 @@
# $PostgreSQL: pgsql/src/template/linux,v 1.28 2006/03/11 04:38:41 momjian Exp $
# Force _GNU_SOURCE on; plperl is broken with Perl 5.8.0 otherwise
-CPPFLAGS="-D_GNU_SOURCE"
+CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE"