Merge pull request #8679 from heitbaum/clean2

elfutils: cleanup _CONFIGURE_OPTS
This commit is contained in:
CvH 2024-05-01 21:06:08 +02:00 committed by GitHub
commit 047eb5cc2f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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