2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-12-22 15:20:06 -07:00

bzip2: build with generic_gcc to use $CC

This commit is contained in:
Dylan Araps 2019-10-07 02:02:58 +03:00
parent fb8d8befcd
commit 6715d1ce3f
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E

View File

@ -1,7 +1,7 @@
#!/bin/sh -e
make CC="gcc $CFLAGS -fPIC $LDFLAGS" -f Makefile-libbz2_so
make CC="gcc $CFLAGS -fPIC $LDFLAGS" bzip2recover libbz2.a
make CC="$CC $CFLAGS -fPIC $LDFLAGS" -f Makefile-libbz2_so
make CC="$CC $CFLAGS -fPIC $LDFLAGS" bzip2recover libbz2.a
for bin in bzip2-shared bzdiff bzgrep bzip2recover bzmore; do
install -Dm755 "$bin" "$1/usr/bin/${bin%%-shared}"