summaryrefslogtreecommitdiff
path: root/buildtools/wafsamba
diff options
context:
space:
mode:
authorMatthieu Patou <mat@matws.net>2010-12-11 19:20:51 +0300
committerMatthieu Patou <mat@samba.org>2010-12-11 18:09:23 +0100
commitbf13d76280ea583175a712d441dcc3c8c69e698b (patch)
tree3d7a2e5933362d562b71d67c9e18ca402b5ab844 /buildtools/wafsamba
parent617871ee28e925171462d4821f60aa9f79fab94e (diff)
downloadsamba-bf13d76280ea583175a712d441dcc3c8c69e698b.tar.gz
samba-bf13d76280ea583175a712d441dcc3c8c69e698b.tar.bz2
samba-bf13d76280ea583175a712d441dcc3c8c69e698b.zip
build: add more CFLAGS for aix
Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sat Dec 11 18:09:23 CET 2010 on sn-devel-104
Diffstat (limited to 'buildtools/wafsamba')
-rw-r--r--buildtools/wafsamba/wscript4
1 files changed, 3 insertions, 1 deletions
diff --git a/buildtools/wafsamba/wscript b/buildtools/wafsamba/wscript
index 2b73f7f25c..d4e103e90e 100644
--- a/buildtools/wafsamba/wscript
+++ b/buildtools/wafsamba/wscript
@@ -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