diff options
author | Matthieu Patou <mat@matws.net> | 2010-12-11 13:13:42 +0300 |
---|---|---|
committer | Matthieu Patou <mat@samba.org> | 2010-12-11 14:48:21 +0100 |
commit | 097075c31f79f59a498cc89ca715e5936b41b465 (patch) | |
tree | 4c9ed419f879af3f4c924388d1dd4b9c83329325 /buildtools/wafsamba/wscript | |
parent | aac0c58e04ac5f379fcfb0b3912d81f64f3652d2 (diff) | |
download | samba-097075c31f79f59a498cc89ca715e5936b41b465.tar.gz samba-097075c31f79f59a498cc89ca715e5936b41b465.tar.bz2 samba-097075c31f79f59a498cc89ca715e5936b41b465.zip |
build: On AIX we need _XOPEN_SOURCE >= 500 for CLOCK_REALTIME
Autobuild-User: Matthieu Patou <mat@samba.org>
Autobuild-Date: Sat Dec 11 14:48:21 CET 2010 on sn-devel-104
Diffstat (limited to 'buildtools/wafsamba/wscript')
-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": |