[packages/llvm] - don't pollute llvm-config with -fvar-tracking-assignments that clang will not understand - rel 3
baggins
baggins at pld-linux.org
Tue Jul 28 07:40:57 CEST 2015
commit 4a1d21cc8bc2beadfe16e5602fbef887b947ef81
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Tue Jul 28 07:40:18 2015 +0200
- don't pollute llvm-config with -fvar-tracking-assignments that clang will not understand
- rel 3
llvm.spec | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/llvm.spec b/llvm.spec
index 0b8c24c..ac64158 100644
--- a/llvm.spec
+++ b/llvm.spec
@@ -17,7 +17,7 @@ Summary: The Low Level Virtual Machine (An Optimizing Compiler Infrastructure)
Summary(pl.UTF-8): Niskopoziomowa maszyna wirtualna (infrastruktura kompilatora optymalizującego)
Name: llvm
Version: 3.6.2
-Release: 2
+Release: 3
License: University of Illinois/NCSA Open Source License
Group: Development/Languages
#Source0Download: http://llvm.org/releases/download.html
@@ -114,6 +114,11 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
# strip corrupts: $RPM_BUILD_ROOT/usr/lib64/llvm-gcc/bin/llvm-c++ ...
%define _noautostrip .*/\\(libmud.*\\.a\\|bin/llvm-.*\\|lib.*++\\.a\\)
+# clang doesn't know it, and leaving it here would pollute llvm-config
+%define filterout_c -fvar-tracking-assignments
+%define filterout_cxx -fvar-tracking-assignments
+%define filterout_ccpp -fvar-tracking-assignments
+
%description
LLVM is a compiler infrastructure designed for compile-time,
link-time, runtime, and idle-time optimization of programs from
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/llvm.git/commitdiff/4a1d21cc8bc2beadfe16e5602fbef887b947ef81
More information about the pld-cvs-commit
mailing list