diff options
-rw-r--r-- | buildtools/wafsamba/wscript | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/buildtools/wafsamba/wscript b/buildtools/wafsamba/wscript index 5756df4cb0..2b73f7f25c 100644 --- a/buildtools/wafsamba/wscript +++ b/buildtools/wafsamba/wscript @@ -300,6 +300,9 @@ def configure(conf): else: conf.env.HAVE_LD_VERSION_SCRIPT = False + if sys.platform == "aix5": + conf.DEFINE('_XOPEN_SOURCE', 500, add_to_cflags=True) + # we should use the PIC options in waf instead # Some compilo didn't support -fPIC but just print a warning if conf.env['COMPILER_CC'] == "suncc": |