Pass -strip-debug to gccas when bytecode libraries are being built.
authorReid Spencer <rspencer@reidspencer.com>
Fri, 3 Dec 2004 06:04:35 +0000 (06:04 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Fri, 3 Dec 2004 06:04:35 +0000 (06:04 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18452 91177308-0d34-0410-b5e6-96231b3b80d8

Makefile.rules

index e88823c85f0ed5bfd35f2f2f004b101aece6b129..da98cc042fa785bdc7e07429e6dc6cb5e971ab6c 100644 (file)
@@ -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