mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
elfutils: cleanup _CONFIGURE_OPTS
remove unknown options from build. fixes build warning: configure: WARNING: unrecognized options: --disable-static, --enable-shared
This commit is contained in:
parent
74b37e1f33
commit
892adc7e1e
@ -40,6 +40,14 @@ PKG_CONFIGURE_OPTS_TARGET="utrace_cv_cc_biarch=false \
|
|||||||
--without-bzlib \
|
--without-bzlib \
|
||||||
--without-lzma"
|
--without-lzma"
|
||||||
|
|
||||||
|
pre_configure_host() {
|
||||||
|
HOST_CONFIGURE_OPTS=$(echo ${HOST_CONFIGURE_OPTS} | sed -e "s|--disable-static||" -e "s|--enable-shared||")
|
||||||
|
}
|
||||||
|
|
||||||
|
pre_configure_target() {
|
||||||
|
TARGET_CONFIGURE_OPTS=$(echo ${TARGET_CONFIGURE_OPTS} | sed -e "s|--disable-static||" -e "s|--enable-shared||")
|
||||||
|
}
|
||||||
|
|
||||||
post_makeinstall_target() {
|
post_makeinstall_target() {
|
||||||
# don't install progs into sysroot
|
# don't install progs into sysroot
|
||||||
rm -fr ${SYSROOT_PREFIX}/usr/bin
|
rm -fr ${SYSROOT_PREFIX}/usr/bin
|
||||||
|
Loading…
x
Reference in New Issue
Block a user