From bf13d76280ea583175a712d441dcc3c8c69e698b Mon Sep 17 00:00:00 2001 From: Matthieu Patou Date: Sat, 11 Dec 2010 19:20:51 +0300 Subject: build: add more CFLAGS for aix Autobuild-User: Matthieu Patou Autobuild-Date: Sat Dec 11 18:09:23 CET 2010 on sn-devel-104 --- buildtools/wafsamba/wscript | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- cgit