aboutsummaryrefslogtreecommitdiff
path: root/Makefile.flags
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2016-02-22 10:00:45 +0000
committerRon Yorston <rmy@pobox.com>2016-02-22 10:00:45 +0000
commit371c20c008254a36e7157df6c13dc2e4cf87d6fd (patch)
treea214c03f6617dffa60df2192b312a46c93b7c19f /Makefile.flags
parentab879a41ab674129ef1593cda181cc8b64d0dadf (diff)
parent3a5cc989025eefe03fda0552b253a4a8f015a761 (diff)
downloadbusybox-w32-371c20c008254a36e7157df6c13dc2e4cf87d6fd.tar.gz
busybox-w32-371c20c008254a36e7157df6c13dc2e4cf87d6fd.tar.bz2
busybox-w32-371c20c008254a36e7157df6c13dc2e4cf87d6fd.zip
Merge branch 'busybox' into merge
Diffstat (limited to 'Makefile.flags')
-rw-r--r--Makefile.flags5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile.flags b/Makefile.flags
index c3ac5b458..28034cb07 100644
--- a/Makefile.flags
+++ b/Makefile.flags
@@ -76,6 +76,11 @@ else
76CFLAGS += $(call cc-option,-Os,$(call cc-option,-O2,)) 76CFLAGS += $(call cc-option,-Os,$(call cc-option,-O2,))
77endif 77endif
78endif 78endif
79ifeq ($(CONFIG_DEBUG_SANITIZE),y)
80CFLAGS += $(call cc-option,-fsanitize=address,)
81CFLAGS += $(call cc-option,-fsanitize=leak,)
82CFLAGS += $(call cc-option,-fsanitize=undefined,)
83endif
79 84
80# If arch/$(ARCH)/Makefile did not override it (with, say, -fPIC)... 85# If arch/$(ARCH)/Makefile did not override it (with, say, -fPIC)...
81ARCH_FPIC ?= -fpic 86ARCH_FPIC ?= -fpic