about summary refs log tree commit diff
path: root/GNUmakefile
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-07-28 11:05:00 +0200
committervan Hauser <vh@thc.org>2020-07-28 11:05:00 +0200
commita76e375d5cf74840fc87667eaa1c3f7e8550ca07 (patch)
tree024f099b2efffc8d68cf842d98261bb288d86a94 /GNUmakefile
parent8b21c2e4728b680a7b02851a4219e78daf54a466 (diff)
downloadafl++-a76e375d5cf74840fc87667eaa1c3f7e8550ca07.tar.gz
import lost PR when switching to stable, updated todo
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/GNUmakefile b/GNUmakefile
index e2d7314f..7ed892ab 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -56,8 +56,10 @@ endif
 
 ifneq "$(shell uname)" "Darwin"
  ifeq "$(shell echo 'int main() {return 0; }' | $(CC) $(CFLAGS) -Werror -x c - -march=native -o .test 2>/dev/null && echo 1 || echo 0 ; rm -f .test )" "1"
+   ifndef SOURCE_DATE_EPOCH
  	#CFLAGS_OPT += -march=native
  	SPECIAL_PERFORMANCE += -march=native
+   endif
  endif
  # OS X does not like _FORTIFY_SOURCE=2
  CFLAGS_OPT += -D_FORTIFY_SOURCE=2