SPECS: svgalib.spec - build kernel module first to avoid confusion...

baggins baggins at pld-linux.org
Wed Sep 5 19:04:40 CEST 2007


Author: baggins                      Date: Wed Sep  5 17:04:40 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- build kernel module first to avoid confusion with LDFLAGS

---- Files affected:
SPECS:
   svgalib.spec (1.183 -> 1.184) 

---- Diffs:

================================================================
Index: SPECS/svgalib.spec
diff -u SPECS/svgalib.spec:1.183 SPECS/svgalib.spec:1.184
--- SPECS/svgalib.spec:1.183	Wed Sep  5 18:20:15 2007
+++ SPECS/svgalib.spec	Wed Sep  5 19:04:35 2007
@@ -252,6 +252,10 @@
 rm -f doc/man7/svgalib.7?*
 
 %build
+%if %{with kernel}
+%build_kernel_modules -C kernel/svgalib_helper -m svgalib_helper
+%endif
+
 %if %{with userspace}
 %ifarch %{ix86}
 NOASM=n
@@ -290,10 +294,6 @@
 	ALLOBJS="\$(OBJECTS)"
 %endif
 
-%if %{with kernel}
-%build_kernel_modules -C kernel/svgalib_helper -m svgalib_helper
-%endif
-
 %install
 rm -rf $RPM_BUILD_ROOT
 
@@ -371,6 +371,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.184  2007/09/05 17:04:35  baggins
+- build kernel module first to avoid confusion with LDFLAGS
+
 Revision 1.183  2007/09/05 16:20:15  baggins
 - rel 8
 - use macros to build kernel module
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/svgalib.spec?r1=1.183&r2=1.184&f=u



More information about the pld-cvs-commit mailing list