git.samba.org
/
mat
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5205747
)
build(waf): support AIX 6.1
author
Christian Ambach
<ambi@samba.org>
Sat, 10 Nov 2012 00:58:43 +0000
(18:58 -0600)
committer
Christian Ambach
<ambi@samba.org>
Fri, 9 Nov 2012 18:15:24 +0000
(19:15 +0100)
on AIX6.1, we need to define _ALL_SOURCE as well, otherwise
system headers with BSD types like u_int cannot be used
buildtools/wafsamba/wscript
patch
|
blob
|
history
diff --git
a/buildtools/wafsamba/wscript
b/buildtools/wafsamba/wscript
index 441e727a5b1123bfa6058276cd14459d535c6cc6..17aef278e9fed656552c087c18700f445606d137 100755
(executable)
--- a/
buildtools/wafsamba/wscript
+++ b/
buildtools/wafsamba/wscript
@@
-322,7
+322,7
@@
def configure(conf):
else:
conf.env.HAVE_LD_VERSION_SCRIPT = False
- if sys.platform == "aix5":
+ if sys.platform == "aix5"
or sys.platform == "aix6"
:
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)