From 097075c31f79f59a498cc89ca715e5936b41b465 Mon Sep 17 00:00:00 2001 From: Matthieu Patou Date: Sat, 11 Dec 2010 13:13:42 +0300 Subject: build: On AIX we need _XOPEN_SOURCE >= 500 for CLOCK_REALTIME Autobuild-User: Matthieu Patou Autobuild-Date: Sat Dec 11 14:48:21 CET 2010 on sn-devel-104 --- buildtools/wafsamba/wscript | 3 +++ 1 file changed, 3 insertions(+) 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": -- cgit