diff options
author | van Hauser <vh@thc.org> | 2019-12-30 15:14:00 +0100 |
---|---|---|
committer | van Hauser <vh@thc.org> | 2019-12-30 15:14:00 +0100 |
commit | 9829c5eb955c118db3923a8626addd7a19319f8a (patch) | |
tree | 1335695a9164421eb2b2f4ed7f9aae3bc0ec692e /llvm_mode | |
parent | 3f23f40a56faf5750320a7663196458d1248a9ad (diff) | |
download | afl++-9829c5eb955c118db3923a8626addd7a19319f8a.tar.gz |
really ensure that all .test files are removed after they are not needed anymore
Diffstat (limited to 'llvm_mode')
-rw-r--r-- | llvm_mode/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm_mode/Makefile b/llvm_mode/Makefile index 5a836a0e..0e3da147 100644 --- a/llvm_mode/Makefile +++ b/llvm_mode/Makefile @@ -115,7 +115,7 @@ endif CLANGVER = $(shell $(CC) --version | sed -E -ne '/^.*version\ ([0-9]\.[0-9]\.[0-9]).*/s//\1/p') -ifeq "$(shell echo '\#include <sys/ipc.h>@\#include <sys/shm.h>@int main() { int _id = shmget(IPC_PRIVATE, 65536, IPC_CREAT | IPC_EXCL | 0600); shmctl(_id, IPC_RMID, 0); return 0;}' | tr @ '\n' | $(CC) -x c - -o .test2 2>/dev/null && echo 1 || echo 0 )" "1" +ifeq "$(shell echo '\#include <sys/ipc.h>@\#include <sys/shm.h>@int main() { int _id = shmget(IPC_PRIVATE, 65536, IPC_CREAT | IPC_EXCL | 0600); shmctl(_id, IPC_RMID, 0); return 0;}' | tr @ '\n' | $(CC) -x c - -o .test2 2>/dev/null && echo 1 || echo 0 ; rm -f .test2 )" "1" SHMAT_OK=1 else SHMAT_OK=0 |