mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-02 07:27:49 +00:00
Merge pull request #1950 from lrusak/fpic
build some more packages with fPIC
This commit is contained in:
commit
67a5449773
@ -38,6 +38,7 @@ PKG_CONFIGURE_OPTS_TARGET="ac_cv_func_strlcat=no \
|
||||
--without-python"
|
||||
|
||||
pre_configure_target() {
|
||||
CFLAGS="$CFLAGS -fPIC"
|
||||
sed "s|@prefix@|$SYSROOT_PREFIX/usr|g" -i $PKG_BUILD/dnet-config.in
|
||||
}
|
||||
|
||||
|
@ -32,3 +32,7 @@ PKG_IS_ADDON="no"
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="--enable-static --disable-shared"
|
||||
|
||||
pre_configure_target() {
|
||||
CFLAGS="$CFLAGS -fPIC"
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user