897c6c05a9dc640daa0481266f28553b143ae9ca
[openwrt/svn-archive/archive.git] / libs / postgresql / patches / 750-configure-honor-cppflags.patch
1 diff -ruN postgresql-7.4.6-old/src/template/linux postgresql-7.4.6-new/src/template/linux
2 --- postgresql-7.4.6-old/src/template/linux 2003-10-09 18:52:45.000000000 +0200
3 +++ postgresql-7.4.6-new/src/template/linux 2005-04-13 03:12:49.000000000 +0200
4 @@ -1,5 +1,5 @@
5 # Force _GNU_SOURCE on; plperl is broken with Perl 5.8.0 otherwise
6 -CPPFLAGS="-D_GNU_SOURCE"
7 +CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE"
8
9 THREAD_SUPPORT=yes
10 NEED_REENTRANT_FUNCS=yes # Debian kernel 2.2 2003-09-27