summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgumi <git@gumi.ca>2018-03-27 11:15:38 -0400
committergumi <git@gumi.ca>2018-03-27 11:15:38 -0400
commit4d130bca3dae241505269b489b3963f3aa519659 (patch)
tree0aceda90d3efa589c4adff30b02b590e64f32b65
parentecf8231758afdd5e44defdd3424bf543f3a95e02 (diff)
downloadevol-tools-s20180406.tar.gz
evol-tools-s20180406.tar.bz2
evol-tools-s20180406.tar.xz
evol-tools-s20180406.zip
honor CC environment variable when building adler32s20180406
-rwxr-xr-xhercules_update/createnew.sh3
-rwxr-xr-xupdate/addmods.sh3
-rwxr-xr-xupdate/create_music.sh3
-rwxr-xr-xupdate/createnew.sh3
-rwxr-xr-xupdate/update.sh3
-rwxr-xr-xupdate/update_music.sh3
6 files changed, 12 insertions, 6 deletions
diff --git a/hercules_update/createnew.sh b/hercules_update/createnew.sh
index 1274792..1a95744 100755
--- a/hercules_update/createnew.sh
+++ b/hercules_update/createnew.sh
@@ -4,9 +4,10 @@
# Author: Andrei Karas (4144)
dir=`pwd`
+CC=${CC:=gcc}
rm adler32
-gcc -lz adler32.c -o adler32
+$CC -lz adler32.c -o adler32
mkdir files
mkdir upload
diff --git a/update/addmods.sh b/update/addmods.sh
index 3a4e036..a45f9ed 100755
--- a/update/addmods.sh
+++ b/update/addmods.sh
@@ -4,9 +4,10 @@
# Author: Andrei Karas (4144)
dir=`pwd`
+CC=${CC:=gcc}
rm adler32
-gcc -lz adler32.c -o adler32
+$CC -lz adler32.c -o adler32
mkdir files
mkdir upload
diff --git a/update/create_music.sh b/update/create_music.sh
index 63e969e..e534a58 100755
--- a/update/create_music.sh
+++ b/update/create_music.sh
@@ -4,9 +4,10 @@
# Author: Andrei Karas (4144)
dir=`pwd`
+CC=${CC:=gcc}
rm adler32
-gcc -lz adler32.c -o adler32
+$CC -lz adler32.c -o adler32
mkdir files
mkdir upload
diff --git a/update/createnew.sh b/update/createnew.sh
index 86a6b93..8997e3e 100755
--- a/update/createnew.sh
+++ b/update/createnew.sh
@@ -4,9 +4,10 @@
# Author: Andrei Karas (4144)
dir=`pwd`
+CC=${CC:=gcc}
rm adler32
-gcc -lz adler32.c -o adler32
+$CC -lz adler32.c -o adler32
mkdir files
mkdir upload
diff --git a/update/update.sh b/update/update.sh
index 01dab51..922c59b 100755
--- a/update/update.sh
+++ b/update/update.sh
@@ -4,9 +4,10 @@
# Author: Andrei Karas (4144)
dir=`pwd`
+CC=${CC:=gcc}
rm adler32
-gcc -lz adler32.c -o adler32
+$CC -lz adler32.c -o adler32
mkdir files
mkdir upload
diff --git a/update/update_music.sh b/update/update_music.sh
index aca1506..b9e0256 100755
--- a/update/update_music.sh
+++ b/update/update_music.sh
@@ -4,9 +4,10 @@
# Author: Andrei Karas (4144)
dir=`pwd`
+CC=${CC:=gcc}
rm adler32
-gcc -lz adler32.c -o adler32
+$CC -lz adler32.c -o adler32
mkdir files
mkdir upload