SPECS: dLAN.spec - pass CFLAGS for userspace; CC is passed by conf...

qboosh qboosh at pld-linux.org
Tue May 16 19:11:36 CEST 2006


Author: qboosh                       Date: Tue May 16 17:11:36 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- pass CFLAGS for userspace; CC is passed by configure

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

---- Diffs:

================================================================
Index: SPECS/dLAN.spec
diff -u SPECS/dLAN.spec:1.6 SPECS/dLAN.spec:1.7
--- SPECS/dLAN.spec:1.6	Wed May 10 20:14:37 2006
+++ SPECS/dLAN.spec	Tue May 16 19:11:31 2006
@@ -1,5 +1,4 @@
 # $Revision$, $Date$
-# TODO: optflags for userspace
 #
 # Conditional build:
 %bcond_without  dist_kernel     # without kernel from distribution
@@ -84,7 +83,7 @@
 %configure
 %if %{with userspace}
 %{__make} cfgtool \
-	CC="%{__cc}"
+	CFLAGS='%{rpmcflags} -Wall $(DEFS) $(DEFINES)'
 %endif
 
 %if %{with kernel}
@@ -171,6 +170,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.7  2006/05/16 17:11:31  qboosh
+- pass CFLAGS for userspace; CC is passed by configure
+
 Revision 1.6  2006/05/10 18:14:37  shadzik
 - CC="%{__cc}", CFLAGS crashes userspace build
 
================================================================

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



More information about the pld-cvs-commit mailing list