aboutsummaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct1
1 files changed, 1 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct
index e6c89bc24b..bf6f827b51 100644
--- a/SConstruct
+++ b/SConstruct
@@ -206,6 +206,7 @@ elif env['arch'] == 'x86_32':
env.Append(CCFLAGS = ['-m32'])
env.Append(LINKFLAGS = ['-m32'])
elif env['arch'] == 'x86_64':
+ env.Append(CXXFLAGS = ['-fPIC'])
env.Append(CCFLAGS = ['-m64'])
env.Append(LINKFLAGS = ['-m64'])