]> git.pld-linux.org Git - packages/llvm.git/commitdiff
- real cc should be >= 3.4
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 14 Jan 2009 23:06:08 +0000 (23:06 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    llvm.spec -> 1.7

llvm.spec

index 2e028e64849f34d38ec5b888ad38a8eb50a9af62..c9dcee29e2ad7b1619692b022ab8d276a8991cfa 100644 (file)
--- a/llvm.spec
+++ b/llvm.spec
@@ -10,9 +10,13 @@ Source0:     http://llvm.org/releases/%{version}/%{name}-%{version}.tar.gz
 Patch0:                %{name}-dirs.patch
 URL:           http://llvm.org/
 BuildRequires: gcc >= 5:3.4
+# gcc4 might be installed, but not current __cc
+%if "%(echo %{cc_version} | cut -d. -f1,2)" < "3.4"
+BuildRequires: __cc >= 3.4
+%endif
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define        _sysconfdir     /etc/%{name}
+%define                _sysconfdir     /etc/%{name}
 
 %description
 LLVM is a compiler infrastructure designed for compile-time,
This page took 0.034179 seconds and 4 git commands to generate.