diff --git a/core/bzip2/build b/core/bzip2/build index 1b6020fd..557daba6 100755 --- a/core/bzip2/build +++ b/core/bzip2/build @@ -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}"