From c5309aa039984bcae78333939475aa8e27df82d6 Mon Sep 17 00:00:00 2001 From: Tobias Markmann <tm@ayena.de> Date: Tue, 26 May 2015 11:26:27 +0200 Subject: Fix SCons architecture detection on FreeBSD 10 Test-Information: Tested on FreeBSD 10.0. Change-Id: Ic1c8a1637f0fbc9128973b41d6988a8afd61e387 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 -- cgit v0.10.2-6-g49f6