wscript: add -fPIC
authorPaul Brossier <piem@piem.org>
Thu, 21 Nov 2013 19:10:21 +0000 (20:10 +0100)
committerPaul Brossier <piem@piem.org>
Thu, 21 Nov 2013 19:10:21 +0000 (20:10 +0100)
wscript

diff --git a/wscript b/wscript
index f1674ef..47e31b2 100644 (file)
--- a/wscript
+++ b/wscript
@@ -73,7 +73,7 @@ def configure(ctx):
   ctx.load('compiler_c')
   ctx.load('waf_unit_test')
   ctx.load('gnu_dirs')
-  ctx.env.CFLAGS += ['-g', '-Wall', '-Wextra']
+  ctx.env.CFLAGS += ['-g', '-Wall', '-Wextra', '-fPIC']
 
   target_platform = Options.platform
   if ctx.options.target_platform: