summaryrefslogtreecommitdiff
path: root/buildtools/wafsamba
diff options
context:
space:
mode:
authorMatthieu Patou <mat@matws.net>2010-10-28 12:09:29 +0400
committerMatthieu Patou <mat@samba.org>2010-10-28 08:57:18 +0000
commit95cbff76d6b88174806205fe6a1ad4a91c8d92c6 (patch)
treeee539e45085e2cd58db6ecd8cf350ff87e56d3cf /buildtools/wafsamba
parent2cfee006e13d661c9aed68a104db62f487f3e889 (diff)
downloadsamba-95cbff76d6b88174806205fe6a1ad4a91c8d92c6.tar.gz
samba-95cbff76d6b88174806205fe6a1ad4a91c8d92c6.tar.bz2
samba-95cbff76d6b88174806205fe6a1ad4a91c8d92c6.zip
build: Add XPG6 otherwise we have a configure pb on sun Solaris
Diffstat (limited to 'buildtools/wafsamba')
-rw-r--r--buildtools/wafsamba/wscript1
1 files changed, 1 insertions, 0 deletions
diff --git a/buildtools/wafsamba/wscript b/buildtools/wafsamba/wscript
index f134c07b11..4c9c3e7918 100644
--- a/buildtools/wafsamba/wscript
+++ b/buildtools/wafsamba/wscript
@@ -267,6 +267,7 @@ def configure(conf):
# define even during the tests otherwise detection of
# boolean is broken
conf.DEFINE('_STDC_C99', 1, add_to_cflags=True)
+ conf.DEFINE('_XPG6', 1, add_to_cflags=True)
else:
conf.ADD_CFLAGS('-fPIC', testflags=True)