SPECS: X11-driver-firegl.spec - define GCC_VER_MAJ, should prevent...

sparky sparky at pld-linux.org
Wed Nov 15 18:00:26 CET 2006


Author: sparky                       Date: Wed Nov 15 17:00:26 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- define GCC_VER_MAJ, should prevent gcc being detectted as version 64

---- Files affected:
SPECS:
   X11-driver-firegl.spec (1.136 -> 1.137) 

---- Diffs:

================================================================
Index: SPECS/X11-driver-firegl.spec
diff -u SPECS/X11-driver-firegl.spec:1.136 SPECS/X11-driver-firegl.spec:1.137
--- SPECS/X11-driver-firegl.spec:1.136	Tue Nov 14 21:36:21 2006
+++ SPECS/X11-driver-firegl.spec	Wed Nov 15 18:00:20 2006
@@ -60,6 +60,8 @@
 ExclusiveArch:	i586 i686 athlon pentium3 pentium4 %{x8664}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%define		_ccver	%(rpm -q --qf "%{VERSION}" gcc | sed 's/\..*//')
+
 %define		_noautoreqdep	libGL.so.1
 
 %define		_prefix		/usr/X11R6
@@ -135,7 +137,7 @@
 %if %{with kernel}
 cd common/lib/modules/fglrx/build_mod
 cp -f 2.6.x/Makefile .
-%build_kernel_modules -m fglrx
+%build_kernel_modules -m fglrx GCC_VER_MAJ=%{_ccver}
 cd -
 %endif
 
@@ -241,6 +243,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.137  2006/11/15 17:00:20  sparky
+- define GCC_VER_MAJ, should prevent gcc being detectted as version 64
+
 Revision 1.136  2006/11/14 20:36:21  sparky
 - BR: rpmbuild(macros) >= 1.330 -- build_kernel_modules fix for kernels 2.6.18
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/X11-driver-firegl.spec?r1=1.136&r2=1.137&f=u



More information about the pld-cvs-commit mailing list