app-crypt/elfcrypt: fix not compiled with CFLAGS

This commit is contained in:
rick 2025-11-23 20:52:54 +01:00
parent 895c4f75a3
commit f0966cf331
No known key found for this signature in database
GPG key ID: D3FB4A5EDD2CBF02
2 changed files with 2 additions and 0 deletions

View file

@ -19,6 +19,7 @@ SLOT="0"
src_prepare() {
sed -e "s/gcc/$(tc-getCC)/" \
-e "s/-o ELFcrypt/${CFLAGS} -o ELFcrypt/" \
-e "s/-o ELFcrypt2/${CFLAGS} -o ELFcrypt2/" \
-e "s/^\(all:.*\)example/\1/" \
-i Makefile || die

View file

@ -24,6 +24,7 @@ SLOT="0"
src_prepare() {
sed -e "s/gcc/$(tc-getCC)/" \
-e "s/-o ELFcrypt/${CFLAGS} -o ELFcrypt/" \
-e "s/-o ELFcrypt2/${CFLAGS} -o ELFcrypt2/" \
-e "s/^\(all:.*\)example/\1/" \
-i Makefile || die