mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
tinyxml2: build with -fPIC
This commit is contained in:
parent
b24c701ec3
commit
ce56cfb7dc
@ -32,6 +32,10 @@ PKG_LONGDESC="TinyXML2 is a simple, small, C++ XML parser that can be easily int
|
|||||||
PKG_IS_ADDON="no"
|
PKG_IS_ADDON="no"
|
||||||
PKG_AUTORECONF="no"
|
PKG_AUTORECONF="no"
|
||||||
|
|
||||||
|
pre_configure_target() {
|
||||||
|
export CFLAGS="$CFLAGS -fPIC"
|
||||||
|
}
|
||||||
|
|
||||||
configure_target() {
|
configure_target() {
|
||||||
cmake -DCMAKE_TOOLCHAIN_FILE=$CMAKE_CONF \
|
cmake -DCMAKE_TOOLCHAIN_FILE=$CMAKE_CONF \
|
||||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user