From: Jakub Bogusz Date: Fri, 14 Dec 2018 17:28:33 +0000 (+0100) Subject: - really reenable split-dwarf X-Git-Tag: auto/th/llvm-7.0.0-3~1 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=50fe0adf1277b5ceaa0537e24580dd0abddcac72;p=packages%2Fllvm.git - really reenable split-dwarf --- diff --git a/llvm.spec b/llvm.spec index cd68c73..263a996 100644 --- a/llvm.spec +++ b/llvm.spec @@ -137,9 +137,9 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) # ix86 and x32 - the same issue as https://llvm.org/bugs/show_bug.cgi?id=27237 # use -gsplit-dwarf only when building packages with debuginfo # to avoid excessive disk space usage -#if 0%{?_enable_debug_packages} -#define specflags -gsplit-dwarf -#endif +%if 0%{?_enable_debug_packages} +%define specflags -gsplit-dwarf +%endif # strip corrupts: $RPM_BUILD_ROOT/usr/lib64/llvm-gcc/bin/llvm-c++ ... %define _noautostrip .*/\\(libmud.*\\.a\\|bin/llvm-.*\\|lib.*++\\.a\\)