From: Mikko Rasa Date: Thu, 3 Dec 2009 08:12:08 +0000 (+0000) Subject: Compile libraries with -fPIC X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=ce86d90028b2e69799a82fda19f78161e1c09099;p=builder.git Compile libraries with -fPIC Update arm tool prefix --- diff --git a/builderrc b/builderrc index c6dc66d..22f29f3 100644 --- a/builderrc +++ b/builderrc @@ -69,7 +69,7 @@ binary_package "openal/win32" architecture "arm" { - prefix "arm-linux-gnu"; + prefix "arm-linux-gnueabi"; }; architecture "win32" diff --git a/source/component.cpp b/source/component.cpp index e96ac22..5e32de5 100644 --- a/source/component.cpp +++ b/source/component.cpp @@ -67,6 +67,10 @@ void Component::create_build_info() if(lexical_cast(strip)) build_info.ldflags.push_back("-s"); } + else if(type==LIBRARY) + { + build_info.cflags.push_back("-fPIC"); + } if(modular) {