This commit is contained in:
vanhauser-thc
2021-12-25 14:21:59 +01:00
parent 185d7f2ede
commit 47488dcd02
3 changed files with 3 additions and 6 deletions

View File

@ -99,7 +99,7 @@ Be sure to setup `PATH` to point to the correct clang binaries and use the
freshly installed clang, clang++, gmake and coreutils, e.g.: freshly installed clang, clang++, gmake and coreutils, e.g.:
``` ```
export PATH="/usr/local/Cellar/llvm/12.0.1/bin/:/usr/local/opt/coreutils/libexec/gnubin:$PATH" export PATH="/usr/local/Cellar/llvm/13.0.0_2/bin/:/usr/local/opt/coreutils/libexec/gnubin:$PATH"
export CC=clang export CC=clang
export CXX=clang++ export CXX=clang++
gmake gmake

View File

@ -335,7 +335,7 @@ hook: $(AFLPP_FRIDA_DRIVER_HOOK_OBJ) $(AFLPP_QEMU_DRIVER_HOOK_OBJ)
############################# ADDR ############################################# ############################# ADDR #############################################
$(ADDR_BIN): $(ADDR_SRC) | $(BUILD_DIR) $(ADDR_BIN): $(ADDR_SRC) | $(BUILD_DIR)
$(TARGET_CC) \ -$(TARGET_CC) \
$(CFLAGS) \ $(CFLAGS) \
-Werror \ -Werror \
-Wall \ -Wall \

View File

@ -38,13 +38,10 @@
#include "common.h" #include "common.h"
/* Detect @@ in args. */ /* Detect @@ in args. */
#ifndef __glibc__ #include <unistd.h>
#include <unistd.h>
#endif
#include <limits.h> #include <limits.h>
#include <sys/types.h> #include <sys/types.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <unistd.h>
#include <fcntl.h> #include <fcntl.h>
u8 be_quiet = 0; u8 be_quiet = 0;