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:
Rudi Heitbaum 2024-03-02 04:19:43 +00:00
parent 74b37e1f33
commit 892adc7e1e

View File

@ -40,6 +40,14 @@ PKG_CONFIGURE_OPTS_TARGET="utrace_cv_cc_biarch=false \
--without-bzlib \
--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() {
# don't install progs into sysroot
rm -fr ${SYSROOT_PREFIX}/usr/bin