From 776b80503f64b7fe1db163ce2da5a6e495383261 Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Fri, 3 Dec 2004 06:04:35 +0000 Subject: [PATCH] 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 --- Makefile.rules | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile.rules b/Makefile.rules index e88823c85f0..da98cc042fa 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 -- 2.34.1