aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorAndrew Zonenberg <azonenberg@drawersteak.com>2016-04-06 22:31:22 -0700
committerAndrew Zonenberg <azonenberg@drawersteak.com>2016-04-06 22:31:22 -0700
commitf6a0f2cf73e8dde315493f113235bbfa27920391 (patch)
tree192dfc412a8a02287fc8fd63a24bc850d357cbd2 /Makefile
parentc2b909c051edf189d6e1f807bb367c3c543dc058 (diff)
parentace462237f1223a41f6d29d1fe29652fcf435882 (diff)
downloadyosys-f6a0f2cf73e8dde315493f113235bbfa27920391.tar.gz
yosys-f6a0f2cf73e8dde315493f113235bbfa27920391.tar.bz2
yosys-f6a0f2cf73e8dde315493f113235bbfa27920391.zip
Merge https://github.com/cliffordwolf/yosys
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 7f4e5c9b1..c7f56be3c 100644
--- a/Makefile
+++ b/Makefile
@@ -112,8 +112,8 @@ ifeq ($(SANITIZER),address)
ENABLE_COVER := 0
endif
ifeq ($(SANITIZER),memory)
-CXXFLAGS += -fPIE
-LDFLAGS += -fPIE
+CXXFLAGS += -fPIE -fsanitize-memory-track-origins
+LDFLAGS += -fPIE -fsanitize-memory-track-origins
endif
ifeq ($(SANITIZER),cfi)
CXXFLAGS += -flto