about summary refs log tree commit diff homepage
path: root/Makefile.common
diff options
context:
space:
mode:
authorDan Liew <daniel.liew11@imperial.ac.uk>2013-03-18 17:09:59 +0000
committerDan Liew <daniel.liew@imperial.ac.uk>2013-08-28 15:38:02 +0100
commitbe2442fe5fb2e1228a0eb1a3a67729a77f710c6b (patch)
tree3a0105ef0d15571321c37aae24700bce8fc3b3bc /Makefile.common
parent821b6f6473334eaa6c78205603faf14a2c1aca41 (diff)
downloadklee-be2442fe5fb2e1228a0eb1a3a67729a77f710c6b.tar.gz
Modified the buildmode of bitcode libraries.
The Default is Release+Asserts but if you are building KLEE with debug symbols (for example
"Release+Debug+Asserts" or "Debug+Asserts") then this breaks because KLEE will
look for the bitcode libraries in the wrong place because the
RUNTIME_CONFIGURATION macro is not defined to be what KLEE actually builds as.

This has been tweaked so that when we build the bitcode libraries the Makefile
variable "DEBUG_SYMBOLS" is correctly overridden.
Diffstat (limited to 'Makefile.common')
-rw-r--r--Makefile.common1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.common b/Makefile.common
index bf99b1f3..682cca65 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -16,6 +16,7 @@ override ENABLE_OPTIMIZED := $(RUNTIME_ENABLE_OPTIMIZED)
 override DISABLE_ASSERTIONS := $(RUNTIME_DISABLE_ASSERTIONS)
 override ENABLE_PROFILING := $(RUNTIME_ENABLE_PROFILING)
 override ENABLE_COVERAGE := $(RUNTIME_ENABLE_COVERAGE)
+override DEBUG_SYMBOLS := $(RUNTIME_DEBUG_SYMBOLS)
 endif
 
 include $(PROJ_SRC_ROOT)/Makefile.rules