summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2011-02-25 19:22:58 (GMT)
committerRemko Tronçon <git@el-tramo.be>2011-02-25 19:22:58 (GMT)
commit258232604c0f84a5edb95d7d74b65326a57a3398 (patch)
tree7417085df0cc2dba59803a271bb63d5e797def87 /Sluift/SConscript
parente06148804fbe7598d9b0bb556411be542494a11b (diff)
downloadswift-258232604c0f84a5edb95d7d74b65326a57a3398.zip
swift-258232604c0f84a5edb95d7d74b65326a57a3398.tar.bz2
Use -fPIC on AMD64.
Diffstat (limited to 'Sluift/SConscript')
-rw-r--r--Sluift/SConscript11
1 files changed, 3 insertions, 8 deletions
diff --git a/Sluift/SConscript b/Sluift/SConscript
index cf0f4d0..dbf7459 100644
--- a/Sluift/SConscript
+++ b/Sluift/SConscript
@@ -1,5 +1,3 @@
-import platform
-
Import("env")
if env["SCONS_STAGE"] == "build" :
@@ -14,9 +12,6 @@ if env["SCONS_STAGE"] == "build" :
elif myenv["PLATFORM"] == "darwin" :
myenv["SHLIBSUFFIX"] = ".so"
- # Temporarily not building plugin on amd64, because it
- # requires the whole build to be done with -fPIC
- if myenv["PLATFORM"] != "posix" or platform.machine() != "x86_64" :
- myenv.SharedLibrary("sluift", [
- "sluift.cpp",
- ])
+ myenv.SharedLibrary("sluift", [
+ "sluift.cpp",
+ ])