build: add more CFLAGS for aix
authorMatthieu Patou <mat@matws.net>
Sat, 11 Dec 2010 16:20:51 +0000 (19:20 +0300)
committerMatthieu Patou <mat@samba.org>
Sat, 11 Dec 2010 17:09:23 +0000 (18:09 +0100)
Autobuild-User: Matthieu Patou <mat@samba.org>
Autobuild-Date: Sat Dec 11 18:09:23 CET 2010 on sn-devel-104

buildtools/wafsamba/wscript

index 2b73f7f25ccb06bb702b72fff65952a6c7eff0e9..d4e103e90e574a81764a6a60684519c798566b42 100644 (file)
@@ -301,7 +301,9 @@ def configure(conf):
         conf.env.HAVE_LD_VERSION_SCRIPT = False
 
     if sys.platform == "aix5":
-        conf.DEFINE('_XOPEN_SOURCE', 500, add_to_cflags=True)
+        conf.DEFINE('_ALL_SOURCE', 1, add_to_cflags=True)
+        # Might not be needed if ALL_SOURCE is defined
+        # conf.DEFINE('_XOPEN_SOURCE', 600, add_to_cflags=True)
 
     # we should use the PIC options in waf instead
     # Some compilo didn't support -fPIC but just print a warning