app-arch/microtar: make custom command die upon failure using edo

Signed-off-by: Lucio Sauer <watermanpaint@posteo.net>
This commit is contained in:
Lucio Sauer 2024-07-17 12:48:54 +02:00
parent 52a063e4a0
commit 5ea5c9788e
No known key found for this signature in database
GPG Key ID: 5568A2DDA60CA297

View File

@ -3,7 +3,7 @@
EAPI=8
inherit toolchain-funcs
inherit edo toolchain-funcs
DESCRIPTION="A lightweight tar library written in ANSI C"
HOMEPAGE="https://github.com/rxi/microtar"
@ -14,8 +14,7 @@ SLOT="0"
KEYWORDS="~amd64"
src_compile() {
tc-export CC
${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} \
edo $(tc-getCC) ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} \
-I./src \
-fPIC \
-shared \