diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-03-28 17:11:06 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-04-06 20:27:13 +1000 |
commit | 28a734829485f74ecff7fa922059c716893bbdc8 (patch) | |
tree | 3f3d96179e4ede5d957f381f160d9ae07b8bda2d | |
parent | 208d92a259398af1afc0b99dbfdc58171a1b671d (diff) | |
download | samba-28a734829485f74ecff7fa922059c716893bbdc8.tar.gz samba-28a734829485f74ecff7fa922059c716893bbdc8.tar.bz2 samba-28a734829485f74ecff7fa922059c716893bbdc8.zip |
build: only add -fPIC if it is supported
-rw-r--r-- | buildtools/wafsamba/wscript | 2 |
1 files changed, 1 insertions, 1 deletions
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') |