From d6646d2e53db5a4850b85835aa73c00b4faa974b Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Mon, 7 Oct 2019 02:25:36 +0300 Subject: [PATCH] bzip2: build with generic_gcc to use $CC --- core/bzip2/build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/bzip2/build b/core/bzip2/build index 557daba6..3f08f33b 100755 --- a/core/bzip2/build +++ b/core/bzip2/build @@ -1,7 +1,7 @@ #!/bin/sh -e -make CC="$CC $CFLAGS -fPIC $LDFLAGS" -f Makefile-libbz2_so -make CC="$CC $CFLAGS -fPIC $LDFLAGS" bzip2recover libbz2.a +make CC="${CC:-gcc} $CFLAGS -fPIC $LDFLAGS" -f Makefile-libbz2_so +make CC="${CC:-gcc} $CFLAGS -fPIC $LDFLAGS" bzip2recover libbz2.a for bin in bzip2-shared bzdiff bzgrep bzip2recover bzmore; do install -Dm755 "$bin" "$1/usr/bin/${bin%%-shared}"