diff options
author | Andrea Fioraldi <andreafioraldi@gmail.com> | 2021-03-09 21:05:58 +0100 |
---|---|---|
committer | Andrea Fioraldi <andreafioraldi@gmail.com> | 2021-03-09 21:05:58 +0100 |
commit | 40ba8814b381d7e090717df8197f5957a5013ca9 (patch) | |
tree | 43576bd3d616dd2a98f669b129aebc32c0ebc800 | |
parent | a0a917ad87b066fc96ba7e69e5aa837b3837d67c (diff) | |
download | afl++-40ba8814b381d7e090717df8197f5957a5013ca9.tar.gz |
better CROSS detection
-rwxr-xr-x | qemu_mode/build_qemu_support.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qemu_mode/build_qemu_support.sh b/qemu_mode/build_qemu_support.sh index 0101b733..a88cb54f 100755 --- a/qemu_mode/build_qemu_support.sh +++ b/qemu_mode/build_qemu_support.sh @@ -385,6 +385,7 @@ if [ "$ORIG_CROSS" = "" ]; then fi if ! command -v "$CROSS" > /dev/null && [ "`uname -m`" = "x86_64" ] then # set -m32 + test "$CC" = "" && CC="gcc" CROSS="$CC -m32" fi fi |