add libtool fixes, cleanup
[openwrt/svn-archive/archive.git] / libs / postgresql / patches / 750-configure-honor-cppflags.patch
1 Index: postgresql-8.2.5/src/template/linux
2 ===================================================================
3 --- postgresql-8.2.5.orig/src/template/linux 2007-09-20 10:18:17.000000000 -0500
4 +++ postgresql-8.2.5/src/template/linux 2007-09-20 10:18:17.000000000 -0500
5 @@ -1,4 +1,4 @@
6 # $PostgreSQL: pgsql/src/template/linux,v 1.28 2006/03/11 04:38:41 momjian Exp $
7
8 # Force _GNU_SOURCE on; plperl is broken with Perl 5.8.0 otherwise
9 -CPPFLAGS="-D_GNU_SOURCE"
10 +CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE"