diff options
-rw-r--r-- | sys-apps/flashrom/flashrom-1.3.0-r2.ebuild | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sys-apps/flashrom/flashrom-1.3.0-r2.ebuild b/sys-apps/flashrom/flashrom-1.3.0-r2.ebuild index 1e3b19367f39..bd7f11f4799e 100644 --- a/sys-apps/flashrom/flashrom-1.3.0-r2.ebuild +++ b/sys-apps/flashrom/flashrom-1.3.0-r2.ebuild @@ -107,6 +107,15 @@ PATCHES=( DOCS=( README Documentation/ ) +src_prepare() { + default + if use elibc_musl ; then + # skip failing test #908539 + sed -i -e 's/-DCONFIG_LINUX_MTD=1/-UCONFIG_LINUX_MTD/' \ + meson.build || die + fi +} + src_configure() { local programmers="$(printf '%s,' $(for flag in ${IUSE_PROGRAMMERS//+/}; do usev ${flag}; done))" programmers="${programmers%,}" |