diff options
author | Cem Keylan <cem@ckyln.com> | 2020-12-27 20:44:22 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2020-12-27 20:44:22 +0300 |
commit | be9ca67885bccc82f07e097ec732860cf64ff53a (patch) | |
tree | 731cf169e08e6b8b2559acb3ae32f21d0701e4e2 /core/bzip2/build | |
parent | fddcdcd174e4c767f77e41affa37e2f989a9e44e (diff) | |
download | repository-be9ca67885bccc82f07e097ec732860cf64ff53a.tar.gz |
bzip2: fix build
Diffstat (limited to 'core/bzip2/build')
-rwxr-xr-x | core/bzip2/build | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/bzip2/build b/core/bzip2/build index 209cce27..df18b2c2 100755 --- a/core/bzip2/build +++ b/core/bzip2/build @@ -1,9 +1,9 @@ #!/bin/sh -e -[ "$CPT_CROSS_TARGET" ] && CC=$CPT_CROSS_TARGET-cc +[ "$CPT_CROSS_TRIPLET" ] && CC=$CPT_CROSS_TRIPLET-cc -make CC="${CC:-cc} $CFLAGS -fPIC $LDFLAGS" -f Makefile-libbz2_so -make CC="${CC:-cc} $CFLAGS -fPIC $LDFLAGS -static" bzip2 bzip2recover libbz2.a +make CC="${CC:=cc} $CFLAGS -fPIC $LDFLAGS" LD=$CC -f Makefile-libbz2_so +make CC="$CC $CFLAGS -fPIC $LDFLAGS -static" LD=$CC bzip2 bzip2recover libbz2.a for bin in bzip2 bzdiff bzgrep bzip2recover bzmore; do install -Dm755 "$bin" "$1/usr/bin/$bin" |