summaryrefslogtreecommitdiff
path: root/source3/wscript
diff options
context:
space:
mode:
authorKai Blin <kai@samba.org>2010-05-26 13:44:43 +0200
committerKai Blin <kai@samba.org>2010-05-30 23:29:20 +0200
commit8e2b69ca46739960354b90c6ef843e68bb4e2330 (patch)
tree2024977d47e6f5d649ad2dba8cdf2bf2865a2390 /source3/wscript
parent5a0b3cf93db3ebf79d81b9ef09669835569549f9 (diff)
downloadsamba-8e2b69ca46739960354b90c6ef843e68bb4e2330.tar.gz
samba-8e2b69ca46739960354b90c6ef843e68bb4e2330.tar.bz2
samba-8e2b69ca46739960354b90c6ef843e68bb4e2330.zip
s3-waf: Add more darwin-specific options
Diffstat (limited to 'source3/wscript')
-rw-r--r--source3/wscript2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/wscript b/source3/wscript
index e2e6f4d02c..d0c80dc073 100644
--- a/source3/wscript
+++ b/source3/wscript
@@ -547,7 +547,9 @@ return 0;
conf.DEFINE('QNX', '1')
conf.DEFINE('STAT_ST_BLOCKSIZE', '512')
elif (host_os.rfind('darwin') > -1):
+ conf.DEFINE('DARWINOS', 1)
conf.DEFINE('STAT_ST_BLOCKSIZE', '512')
+ conf.ADD_CFLAGS('-fno-common')
# FIXME: Add more checks here.
else:
print "Unknown host_os '%s', please report this to samba-technical@samba.org" % host_os