mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 05:06:43 +00:00
enca: buildsys cosmetics
This commit is contained in:
parent
d6248d18b5
commit
1a64e31645
@ -32,8 +32,6 @@ PKG_LONGDESC="Enca detects the encoding of text files, on the basis of knowledge
|
|||||||
PKG_IS_ADDON="no"
|
PKG_IS_ADDON="no"
|
||||||
PKG_AUTORECONF="yes"
|
PKG_AUTORECONF="yes"
|
||||||
|
|
||||||
export CFLAGS="$CFLAGS -fPIC -DPIC"
|
|
||||||
|
|
||||||
PKG_MAKEINSTALL_OPTS_TARGET="-C lib"
|
PKG_MAKEINSTALL_OPTS_TARGET="-C lib"
|
||||||
PKG_CONFIGURE_OPTS_TARGET="ac_cv_file__dev_random=yes \
|
PKG_CONFIGURE_OPTS_TARGET="ac_cv_file__dev_random=yes \
|
||||||
ac_cv_file__dev_urandom=no \
|
ac_cv_file__dev_urandom=no \
|
||||||
@ -47,6 +45,10 @@ PKG_CONFIGURE_OPTS_TARGET="ac_cv_file__dev_random=yes \
|
|||||||
--disable-rpath \
|
--disable-rpath \
|
||||||
--with-gnu-ld"
|
--with-gnu-ld"
|
||||||
|
|
||||||
|
pre_configure_target() {
|
||||||
|
export CFLAGS="$CFLAGS -fPIC -DPIC"
|
||||||
|
}
|
||||||
|
|
||||||
pre_make_target() {
|
pre_make_target() {
|
||||||
make CC="$HOST_CC" \
|
make CC="$HOST_CC" \
|
||||||
CPPFLAGS="$HOST_CPPFLAGS" \
|
CPPFLAGS="$HOST_CPPFLAGS" \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user