aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.rules4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.rules b/Makefile.rules
index e88823c85f..da98cc042f 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -510,6 +510,10 @@ endif
#---------------------------------------------------------
ifdef BYTECODE_LIBRARY
+# make the C and C++ compilers strip debug info out of bytecode libraries.
+BCCompile.C += -Wa,-strip-debug
+BCCompile.CXX += -Wa,-strip-debug
+
all-local:: $(LibName.BCA)
ifdef EXPORTED_SYMBOL_FILE