This commit is contained in:
van Hauser
2020-12-25 12:13:45 +01:00
parent 949f075247
commit a4fd4ea0f4
2 changed files with 8 additions and 8 deletions

View File

@ -307,7 +307,7 @@ all: test_x86 test_shm test_python ready $(PROGS) afl-as llvm gcc_plugin test_bu
.PHONY: llvm
llvm:
-$(MAKE) -j4 -f GNUmakefile.llvm
-$(MAKE) -j -f GNUmakefile.llvm
@test -e afl-cc || { echo "[-] Compiling afl-cc failed. You seem not to have a working compiler." ; exit 1; }
.PHONY: gcc_plugin
@ -579,7 +579,7 @@ deepclean: clean
.PHONY: distrib
distrib: all
-$(MAKE) -j4 -f GNUmakefile.llvm
-$(MAKE) -j -f GNUmakefile.llvm
-$(MAKE) -f GNUmakefile.gcc_plugin
$(MAKE) -C utils/libdislocator
$(MAKE) -C utils/libtokencap
@ -602,7 +602,7 @@ binary-only: test_shm test_python ready $(PROGS)
.PHONY: source-only
source-only: all
-$(MAKE) -j4 -f GNUmakefile.llvm
-$(MAKE) -j -f GNUmakefile.llvm
-$(MAKE) -f GNUmakefile.gcc_plugin
$(MAKE) -C utils/libdislocator
$(MAKE) -C utils/libtokencap

View File

@ -1030,9 +1030,9 @@ int main(int argc, char **argv, char **envp) {
compiler_mode = GCC;
} else if (strncmp(callname, "afl-clang", 9) == 0 &&
} else if (strcmp(callname, "afl-clang") == 0 ||
strstr(callname, "fast") == NULL) {
strcmp(callname, "afl-clang++") == 0) {
compiler_mode = CLANG;
@ -1076,13 +1076,13 @@ int main(int argc, char **argv, char **envp) {
}
if (strncmp(callname, "afl-clang", 9) == 0 &&
strstr(callname, "fast") == NULL) {
if (strcmp(callname, "afl-clang") == 0 ||
strcmp(callname, "afl-clang++") == 0) {
clang_mode = 1;
compiler_mode = CLANG;
if (strncmp(callname, "afl-clang++", 11) == 0) { plusplus_mode = 1; }
if (strcmp(callname, "afl-clang++") == 0) { plusplus_mode = 1; }
}