SPECS: llvm.spec - real cc should be >= 3.4

glen glen at pld-linux.org
Thu Jan 15 00:06:14 CET 2009


Author: glen                         Date: Wed Jan 14 23:06:14 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- real cc should be >= 3.4

---- Files affected:
SPECS:
   llvm.spec (1.6 -> 1.7) 

---- Diffs:

================================================================
Index: SPECS/llvm.spec
diff -u SPECS/llvm.spec:1.6 SPECS/llvm.spec:1.7
--- SPECS/llvm.spec:1.6	Fri Dec 26 03:44:22 2008
+++ SPECS/llvm.spec	Thu Jan 15 00:06:08 2009
@@ -11,9 +11,13 @@
 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,
@@ -106,6 +110,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.7  2009/01/14 23:06:08  glen
+- real cc should be >= 3.4
+
 Revision 1.6  2008/12/26 02:44:22  adamg
 - fixed previous commit msg
 
@@ -123,12 +130,3 @@
 
 Revision 1.1  2007/10/21 13:35:01  undefine
 - initial, nfy
-
-* Fri Aug 04 2006 Reid Spencer
-- Updates for release 1.8
-* Fri Apr 07 2006 Reid Spencer
-- Make the build be optimized+assertions
-* Fri May 13 2005 Reid Spencer
-- Minor adjustments for the 1.5 release
-* Mon Feb 09 2003 Brian R. Gaeke
-- Initial working version of RPM spec file.
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/llvm.spec?r1=1.6&r2=1.7&f=u



More information about the pld-cvs-commit mailing list