mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-24 14:32:56 +02:00
zynaddsubfx: fix PIE
This commit is contained in:
parent
ce332aa512
commit
4b6ca5abde
1 changed files with 4 additions and 2 deletions
|
@ -31,8 +31,10 @@ post_build() {
|
||||||
local ext
|
local ext
|
||||||
for ext in Spliter Controller; do
|
for ext in Spliter Controller; do
|
||||||
cd ${wrksrc}/ExternalPrograms/${ext}
|
cd ${wrksrc}/ExternalPrograms/${ext}
|
||||||
# Replace gcc with the target C compiler
|
sed -i Makefile \
|
||||||
sed -i Makefile -e "s;gcc;${CC};g"
|
-e 's;`fltk-config --cflags`;& ${CFLAGS};' \
|
||||||
|
-e 's;`fltk-config --ldflags`;& ${LDFLAGS};' \
|
||||||
|
-e 's;gcc ;${CC} ;'
|
||||||
# Build external program
|
# Build external program
|
||||||
make ${makejobs}
|
make ${makejobs}
|
||||||
done
|
done
|
||||||
|
|
Loading…
Add table
Reference in a new issue