SPECS: ndiswrapper.spec - fix x86_64 build (w/o CONFIG_x86_64 win2...

zergin zergin at pld-linux.org
Tue Sep 26 11:06:21 CEST 2006


Author: zergin                       Date: Tue Sep 26 09:06:21 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fix x86_64 build (w/o CONFIG_x86_64 win2lin_stubs.h fails to build)

---- Files affected:
SPECS:
   ndiswrapper.spec (1.64 -> 1.65) 

---- Diffs:

================================================================
Index: SPECS/ndiswrapper.spec
diff -u SPECS/ndiswrapper.spec:1.64 SPECS/ndiswrapper.spec:1.65
--- SPECS/ndiswrapper.spec:1.64	Tue Sep 12 17:50:05 2006
+++ SPECS/ndiswrapper.spec	Tue Sep 26 11:06:16 2006
@@ -120,7 +120,8 @@
 %if %{with userspace}
 %{__make} -C utils \
 	CC="%{__cc}" \
-	CFLAGS="%{rpmcflags} -Wall -DUTILS_VERSION=\\\"\$(UTILS_VERSION)\\\""
+	CFLAGS="%{rpmcflags} -Wall -DUTILS_VERSION=\\\"\$(UTILS_VERSION)\\\"" \
+	%{?x8664:CONFIG_X86_64=y}
 %endif
 
 %if %{with kernel}
@@ -142,10 +143,12 @@
 		M=$PWD O=$PWD/o \
 		KVERS="%{_kernel_ver}" \
 		%{?with_verbose:V=1}
+
 	%{__make} KBUILD=%{_kernelsrcdir} \
 		RCS_FIND_IGNORE="-name '*.ko' -o" \
 		M=$PWD O=$PWD/o \
 		KVERS="%{_kernel_ver}" \
+		%{?x8664:CONFIG_X86_64=y} \
 		%{?with_verbose:V=1}
 	 mv ndiswrapper{,-$cfg}.ko
 done
@@ -215,6 +218,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.65  2006/09/26 09:06:16  zergin
+- fix x86_64 build (w/o CONFIG_x86_64 win2lin_stubs.h fails to build)
+
 Revision 1.64  2006/09/12 15:50:05  shadzik
 - 1.24rc4
 - fixed %setup after qboosh
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/ndiswrapper.spec?r1=1.64&r2=1.65&f=u



More information about the pld-cvs-commit mailing list