From dc02482665983f4647a169381c06cdfd4de79e7a Mon Sep 17 00:00:00 2001 From: Ykkrosh Date: Sat, 11 Jul 2009 15:29:05 +0000 Subject: [PATCH] Added -fPIC to all Atlas libraries, to try to fix builds on Linux x86_64 This was SVN commit r6944. --- build/premake/premake.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/build/premake/premake.lua b/build/premake/premake.lua index 260546539d..cd549296fc 100755 --- a/build/premake/premake.lua +++ b/build/premake/premake.lua @@ -625,6 +625,7 @@ function setup_atlas_package(package_name, target_type, rel_source_dirs, rel_inc elseif OS == "linux" then tinsert(package.buildoptions, "-rdynamic") + tinsert(package.buildoptions, "-fPIC") tinsert(package.linkoptions, "-rdynamic") if extra_params["no_unused_warnings"] then