From 6715d1ce3f9c5746c5691b0cfc1c1f4e0bb28542 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Mon, 7 Oct 2019 02:02:58 +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 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}"