about summary refs log tree commit diff homepage
path: root/test/Makefile
diff options
context:
space:
mode:
authorCristian Cadar <c.cadar@imperial.ac.uk>2017-02-13 22:32:07 +0000
committerGitHub <noreply@github.com>2017-02-13 22:32:07 +0000
commit13d8b4cb78c81bff97501cbe586f0fd8f1adc4d2 (patch)
tree424398f1dac3f76b85592940b1af30f4fec14b99 /test/Makefile
parent950c823ddec56d59edb88e6ef81ba541aa5a34df (diff)
parent56afb17888a8330093e6691ae5bb1635b179431d (diff)
downloadklee-13d8b4cb78c81bff97501cbe586f0fd8f1adc4d2.tar.gz
Merge pull request #506 from delcypher/travis_asan_ubsan
Modify scripts and a test to allow ASan/UBSan builds.
Diffstat (limited to 'test/Makefile')
-rw-r--r--test/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Makefile b/test/Makefile
index c96ae889..a2d95056 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -74,7 +74,7 @@ lit.site.cfg: lit.site.cfg.in
 	     -e "s#@HAVE_SELINUX@#$(HAVE_SELINUX)#g" \
 	     -e "s#@ENABLE_STP@#$(ENABLE_STP)#g" \
 	     -e "s#@ENABLE_Z3@#$(ENABLE_Z3)#g" \
-	     -e "s#@NATIVE_CC@#$(CC) -I$(PROJ_SRC_ROOT)/include#g" \
-	     -e "s#@NATIVE_CXX@#$(CXX) -I$(PROJ_SRC_ROOT)/include#g" \
+	     -e "s#@NATIVE_CC@#$(CC) $(CFLAGS) -I$(PROJ_SRC_ROOT)/include#g" \
+	     -e "s#@NATIVE_CXX@#$(CXX) $(CXXFLAGS) -I$(PROJ_SRC_ROOT)/include#g" \
 	     -e "s#@LIB_KLEE_RUN_TEST_PATH@#$(SharedLibDir)/$(SharedPrefix)kleeRuntest$(SHLIBEXT)#g" \
 	     $(PROJ_SRC_DIR)/lit.site.cfg.in > $@