aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2022-05-19 11:21:32 +0200
committerGitHub <noreply@github.com>2022-05-19 11:21:32 +0200
commitffdbe8a2fbe240e1f09fe30588d9ede82ded4f32 (patch)
treee37d3e658779fc06fb1790ecfb4a33db71d6f9a7
parentc5083f89824a4390ed44160f6d0b258510af5b2d (diff)
parent022f3646616446f640b9bdba1c4273fc62e9d576 (diff)
downloadAFLplusplus-ffdbe8a2fbe240e1f09fe30588d9ede82ded4f32.tar.gz
Merge pull request #1411 from glandium/implicit-int
Fix build failures with clang 15
-rw-r--r--GNUmakefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 8b09c51a..072bd09d 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -387,7 +387,7 @@ test_x86:
@echo "[*] Testing the PATH environment variable..."
@test "$${PATH}" != "$${PATH#.:}" && { echo "Please remove current directory '.' from PATH to avoid recursion of 'as', thanks!"; echo; exit 1; } || :
@echo "[*] Checking for the ability to compile x86 code..."
- @echo 'main() { __asm__("xorb %al, %al"); }' | $(CC) $(CFLAGS) $(LDFLAGS) -w -x c - -o .test1 || ( echo; echo "Oops, looks like your compiler can't generate x86 code."; echo; echo "Don't panic! You can use the LLVM or QEMU mode, but see docs/INSTALL first."; echo "(To ignore this error, set AFL_NO_X86=1 and try again.)"; echo; exit 1 )
+ @echo 'int main() { __asm__("xorb %al, %al"); }' | $(CC) $(CFLAGS) $(LDFLAGS) -w -x c - -o .test1 || ( echo; echo "Oops, looks like your compiler can't generate x86 code."; echo; echo "Don't panic! You can use the LLVM or QEMU mode, but see docs/INSTALL first."; echo "(To ignore this error, set AFL_NO_X86=1 and try again.)"; echo; exit 1 )
@rm -f .test1
else
test_x86: