tinyxml: add -fPIC to CFLAGS

This commit is contained in:
Lukas Rusak 2017-06-14 22:36:01 -07:00
parent 8c2f6cd9d5
commit 777e824746
No known key found for this signature in database
GPG Key ID: 8C310C807E7393A3

View File

@ -30,7 +30,7 @@ PKG_LONGDESC="TinyXML is a simple, small, C++ XML parser that can be easily inte
PKG_IS_ADDON="no"
PKG_AUTORECONF="yes"
PKG_CONFIGURE_OPTS_TARGET="--enable-static --disable-shared"
PKG_CONFIGURE_OPTS_TARGET="--enable-static --disable-shared --with-pic"
pre_configure_target() {
export CFLAGS="$CFLAGS -fPIC"