[ioquake3] 102/136: build-rsa-tools.sh now works on Linux.
Simon McVittie
smcv at debian.org
Thu Jun 15 09:09:15 UTC 2017
This is an automated email from the git hooks/post-receive script.
smcv pushed a commit to branch debian/master
in repository ioquake3.
commit 06cc3a4e1bfcb3f2936ef5f4f0fec4aa7b6885e6
Author: Ryan C. Gordon <icculus at icculus.org>
Date: Sun Jun 4 01:44:39 2017 -0400
build-rsa-tools.sh now works on Linux.
---
code/autoupdater/rsa_tools/build-rsa-tools.sh | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/code/autoupdater/rsa_tools/build-rsa-tools.sh b/code/autoupdater/rsa_tools/build-rsa-tools.sh
index 422e48d..23e65c6 100755
--- a/code/autoupdater/rsa_tools/build-rsa-tools.sh
+++ b/code/autoupdater/rsa_tools/build-rsa-tools.sh
@@ -7,7 +7,11 @@ export TFMDIR="tomsfastmath-0.13.1"
export LTCDIR="libtomcrypt-1.17"
function build {
- clang -mmacosx-version-min=10.7 -DMAC_OS_X_VERSION_MIN_REQUIRED=1070 -I $TFMDIR/src/headers -I $LTCDIR/src/headers -o "$1" -Wall -O3 "$1.c" rsa_common.c $LTCDIR/libtomcrypt.a $TFMDIR/libtfm.a
+ if [ "$OSTYPE" = "Darwin" ]; then
+ clang -mmacosx-version-min=10.7 -DMAC_OS_X_VERSION_MIN_REQUIRED=1070 -I $TFMDIR/src/headers -I $LTCDIR/src/headers -o "$1" -Wall -O3 "$1.c" rsa_common.c $LTCDIR/libtomcrypt.a $TFMDIR/libtfm.a
+ else
+ gcc -I $TFMDIR/src/headers -I $LTCDIR/src/headers -o "$1" -Wall -O3 "$1.c" rsa_common.c $LTCDIR/libtomcrypt.a $TFMDIR/libtfm.a
+ fi
}
set -e
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/ioquake3.git
More information about the Pkg-games-commits
mailing list