diff options
| author | van Hauser <vh@thc.org> | 2023-08-09 18:29:25 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-08-09 18:29:25 +0000 |
| commit | fa44d8f79f03c0aab3cfea93c37b70edc367c1bb (patch) | |
| tree | f39de203508117dcb50b66baa8fd335a887a9c54 /GNUmakefile | |
| parent | 18d9234dfe4b6db32a2da335834908e49300e5cd (diff) | |
| parent | 55d696fbae435e0e69adf75cb2df1361186fb999 (diff) | |
| download | afl++-fa44d8f79f03c0aab3cfea93c37b70edc367c1bb.tar.gz | |
Merge pull request #1831 from AFLplusplus/dev
push to stable
Diffstat (limited to 'GNUmakefile')
| -rw-r--r-- | GNUmakefile | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/GNUmakefile b/GNUmakefile index 71011858..88816e85 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -91,9 +91,9 @@ ifneq "$(SYS)" "Darwin" #ifeq "$(HAVE_MARCHNATIVE)" "1" # SPECIAL_PERFORMANCE += -march=native #endif - ifndef DEBUG - CFLAGS_OPT += -D_FORTIFY_SOURCE=1 - endif + #ifndef DEBUG + # CFLAGS_OPT += -D_FORTIFY_SOURCE=1 + #endif else # On some odd MacOS system configurations, the Xcode sdk path is not set correctly SDK_LD = -L$(shell xcrun --show-sdk-path)/usr/lib @@ -255,17 +255,17 @@ endif ifneq "$(findstring FreeBSD, $(SYS))" "" override CFLAGS += -pthread - override LDFLAGS += -lpthread + override LDFLAGS += -lpthread -lm endif ifneq "$(findstring NetBSD, $(SYS))" "" override CFLAGS += -pthread - override LDFLAGS += -lpthread + override LDFLAGS += -lpthread -lm endif ifneq "$(findstring OpenBSD, $(SYS))" "" override CFLAGS += -pthread - override LDFLAGS += -lpthread + override LDFLAGS += -lpthread -lm endif COMM_HDR = include/alloc-inl.h include/config.h include/debug.h include/types.h |
