summaryrefslogtreecommitdiff
path: root/Makefile.rules
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2004-12-03 06:04:35 +0000
committerReid Spencer <rspencer@reidspencer.com>2004-12-03 06:04:35 +0000
commit776b80503f64b7fe1db163ce2da5a6e495383261 (patch)
tree4f4c59e5726f3ce830f38a2296b6797bd4e2b020 /Makefile.rules
parent40add594ebb8701fc43f0eb77d296f9b7ea0a5d4 (diff)
downloadllvm-776b80503f64b7fe1db163ce2da5a6e495383261.tar.gz
llvm-776b80503f64b7fe1db163ce2da5a6e495383261.tar.bz2
llvm-776b80503f64b7fe1db163ce2da5a6e495383261.tar.xz
Pass -strip-debug to gccas when bytecode libraries are being built.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18452 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile.rules')
-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