diff --git a/srcpkgs/libieee1284/template b/srcpkgs/libieee1284/template index eab022e9da..6fbed76909 100644 --- a/srcpkgs/libieee1284/template +++ b/srcpkgs/libieee1284/template @@ -11,7 +11,11 @@ license="GPL-2" distfiles="$SOURCEFORGE_SITE/$pkgname/$pkgname-$version.tar.bz2" checksum=7730de107782e5d2b071bdcb5b06a44da74856f00ef4a9be85d1ba4806a38f1a -CFLAGS="-Doutb_p=outb" +post_extract() { + case "$XBPS_TARGET_MACHINE" in + *-musl) export CFLAGS+=" -Doutb_p=outb";; + esac +} libieee1284-devel_package() { depends="${sourcepkg}>=${version}_${revision}"