tinyxml2: build with -fPIC

This commit is contained in:
Stefan Saraev 2015-03-01 18:11:08 +02:00
parent b24c701ec3
commit ce56cfb7dc

View File

@ -32,6 +32,10 @@ PKG_LONGDESC="TinyXML2 is a simple, small, C++ XML parser that can be easily int
PKG_IS_ADDON="no"
PKG_AUTORECONF="no"
pre_configure_target() {
export CFLAGS="$CFLAGS -fPIC"
}
configure_target() {
cmake -DCMAKE_TOOLCHAIN_FILE=$CMAKE_CONF \
-DCMAKE_INSTALL_PREFIX=/usr \