git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
090fcb0
)
build: add the -fno-common flags to fix the link pb on mac os X
author
Matthieu Patou
<mat@matws.net>
Thu, 28 Oct 2010 21:52:32 +0000
(
01:52
+0400)
committer
Matthieu Patou
<mat@samba.org>
Thu, 28 Oct 2010 22:35:08 +0000
(22:35 +0000)
Autobuild-User: Matthieu Patou <mat@samba.org>
Autobuild-Date: Thu Oct 28 22:35:08 UTC 2010 on sn-devel-104
buildtools/wafsamba/wscript
patch
|
blob
|
history
diff --git
a/buildtools/wafsamba/wscript
b/buildtools/wafsamba/wscript
index 4c9c3e79187d4a46a74f446ff7d0a20ee868de2f..7c40c8c5076060a2ea81385bd8cdd340c6eb5c83 100644
(file)
--- a/
buildtools/wafsamba/wscript
+++ b/
buildtools/wafsamba/wscript
@@
-271,6
+271,8
@@
def configure(conf):
else:
conf.ADD_CFLAGS('-fPIC', testflags=True)
+ if sys.platform == 'darwin':
+ conf.ADD_LDFLAGS('-fno-common', testflags=True)
conf.CHECK_INLINE()
# check for pkgconfig