diff options
author | Tobias Markmann <tm@ayena.de> | 2015-05-26 09:26:27 (GMT) |
---|---|---|
committer | Tobias Markmann <tm@ayena.de> | 2015-05-26 09:26:27 (GMT) |
commit | c5309aa039984bcae78333939475aa8e27df82d6 (patch) | |
tree | 5d2be26327c8a92d5ee618dce3250ed09e56da70 | |
parent | 21a8ea1a4ced41b290e133805c6e19dad6f6b21c (diff) | |
download | swift-c5309aa039984bcae78333939475aa8e27df82d6.zip swift-c5309aa039984bcae78333939475aa8e27df82d6.tar.bz2 |
Fix SCons architecture detection on FreeBSD 10
Test-Information:
Tested on FreeBSD 10.0.
Change-Id: Ic1c8a1637f0fbc9128973b41d6988a8afd61e387
-rw-r--r-- | BuildTools/SCons/SConscript.boot | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/BuildTools/SCons/SConscript.boot b/BuildTools/SCons/SConscript.boot index 8b50044..dd462de 100644 --- a/BuildTools/SCons/SConscript.boot +++ b/BuildTools/SCons/SConscript.boot @@ -282,7 +282,7 @@ if env["experimental"] : # If we build shared libs on AMD64, we need -fPIC. # This should have no performance impact om AMD64 -if env["PLATFORM"] == "posix" and platform.machine() == "x86_64" : +if env["PLATFORM"] == "posix" and platform.machine() in ["x86_64", "amd64"] : env.Append(CCFLAGS = ["-fPIC"]) # Warnings |