From 28a734829485f74ecff7fa922059c716893bbdc8 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 28 Mar 2010 17:11:06 +1100 Subject: build: only add -fPIC if it is supported --- buildtools/wafsamba/wscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'buildtools') diff --git a/buildtools/wafsamba/wscript b/buildtools/wafsamba/wscript index 1ff0fd3cb3..5a24eeb283 100644 --- a/buildtools/wafsamba/wscript +++ b/buildtools/wafsamba/wscript @@ -119,7 +119,7 @@ def configure(conf): conf.env.RPATH_ON_BUILD = False # we should use the PIC options in waf instead - conf.ADD_CFLAGS('-fPIC') + conf.ADD_CFLAGS('-fPIC', testflags=True) # check for pkgconfig conf.check_cfg(atleast_pkgconfig_version='0.0.0') -- cgit