SPECS: xorg-driver-video-fglrx.spec - pass GCC_VER_MAJ
sparky
sparky at pld-linux.org
Wed Nov 15 18:10:57 CET 2006
Author: sparky Date: Wed Nov 15 17:10:57 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- pass GCC_VER_MAJ
---- Files affected:
SPECS:
xorg-driver-video-fglrx.spec (1.20 -> 1.21)
---- Diffs:
================================================================
Index: SPECS/xorg-driver-video-fglrx.spec
diff -u SPECS/xorg-driver-video-fglrx.spec:1.20 SPECS/xorg-driver-video-fglrx.spec:1.21
--- SPECS/xorg-driver-video-fglrx.spec:1.20 Tue Nov 14 21:36:22 2006
+++ SPECS/xorg-driver-video-fglrx.spec Wed Nov 15 18:10:52 2006
@@ -57,6 +57,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
%description
@@ -157,7 +159,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
@@ -267,6 +269,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.21 2006/11/15 17:10:52 sparky
+- pass GCC_VER_MAJ
+
Revision 1.20 2006/11/14 20:36:22 sparky
- BR: rpmbuild(macros) >= 1.330 -- build_kernel_modules fix for kernels 2.6.18
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/xorg-driver-video-fglrx.spec?r1=1.20&r2=1.21&f=u
More information about the pld-cvs-commit
mailing list