From e8582b4e08feed4adbdd5a27da0611a410eaa1d3 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Mon, 7 Oct 2019 02:28:13 +0300 Subject: [PATCH] zip: build with generic_gcc to use $CC --- extra/zip/build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extra/zip/build b/extra/zip/build index 7de152c1..6fe4f003 100755 --- a/extra/zip/build +++ b/extra/zip/build @@ -1,6 +1,6 @@ #!/bin/sh -e -sed -e "s|generic CC=gcc CPP=\"gcc -E\"|zips CC=$CC CPP=\"$CPP -E\" CFLAGS=\"-DLARGE_FILE_SUPPORT $CFLAGS \${CFLAGS_NOOPT}\" LFLAGS2=\"$LDFLAGS\"|g" -i unix/Makefile +sed -e "s|generic CC=gcc CPP=\"gcc -E\"|zips CC=${CC:-gcc} CPP=\"$CPP -E\" CFLAGS=\"-DLARGE_FILE_SUPPORT $CFLAGS \${CFLAGS_NOOPT}\" LFLAGS2=\"$LDFLAGS\"|g" -i unix/Makefile make -f unix/Makefile prefix=/usr generic_gcc make prefix="$1/usr" MANDIR="$1/usr/share/man/man1" -f unix/Makefile install