]> jfr.im git - irc/rizon/znc.git/commitdiff
Remove -D_GNU_SOURCE from our CXXFLAGS
authorpsychon <redacted>
Tue, 1 Jul 2008 09:50:47 +0000 (09:50 +0000)
committerpsychon <redacted>
Tue, 1 Jul 2008 09:50:47 +0000 (09:50 +0000)
This flag was there since the very first version of ZNC and it doesn't
seem to be needed.

Thanks to sohalt (Alexander Graf) for testing this.

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1110 726aef4b-f618-498e-8847-2d620e286838

configure
configure.in

index 9fa7068f5b0ea0f938979d7d7f4b93fd6df9bfe3..172225fe9cb461172314cf52e99eb808a391c3a0 100755 (executable)
--- a/configure
+++ b/configure
@@ -2445,7 +2445,7 @@ appendLD () {
        fi
 }
 
-appendCXX "-D_GNU_SOURCE -D_FORTIFY_SOURCE=2"
+appendCXX "-D_FORTIFY_SOURCE=2"
 
 case "${host_os}" in
        freebsd*)
index 48c1d1d8959305be1fb4f9bb4e0f01322540101c..72191e2ed67b8f92f75fe0320183dfdc71d28e9b 100644 (file)
@@ -39,7 +39,7 @@ appendLD () {
        fi
 }
 
-appendCXX "-D_GNU_SOURCE -D_FORTIFY_SOURCE=2"
+appendCXX "-D_FORTIFY_SOURCE=2"
 
 case "${host_os}" in
        freebsd*)