From 4a11cad0e063431eec9cfce385ebacdb22279712 Mon Sep 17 00:00:00 2001 From: Matthieu Patou Date: Fri, 29 Oct 2010 01:52:32 +0400 Subject: build: add the -fno-common flags to fix the link pb on mac os X Autobuild-User: Matthieu Patou Autobuild-Date: Thu Oct 28 22:35:08 UTC 2010 on sn-devel-104 --- buildtools/wafsamba/wscript | 2 ++ 1 file changed, 2 insertions(+) (limited to 'buildtools/wafsamba/wscript') diff --git a/buildtools/wafsamba/wscript b/buildtools/wafsamba/wscript index 4c9c3e7918..7c40c8c507 100644 --- 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 -- cgit