SPECS: ndiswrapper.spec - don't pass CONFIG_X86_64=y on all archs
qboosh
qboosh at pld-linux.org
Tue Sep 26 11:32:04 CEST 2006
Author: qboosh Date: Tue Sep 26 09:32:04 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- don't pass CONFIG_X86_64=y on all archs
---- Files affected:
SPECS:
ndiswrapper.spec (1.65 -> 1.66)
---- Diffs:
================================================================
Index: SPECS/ndiswrapper.spec
diff -u SPECS/ndiswrapper.spec:1.65 SPECS/ndiswrapper.spec:1.66
--- SPECS/ndiswrapper.spec:1.65 Tue Sep 26 11:06:16 2006
+++ SPECS/ndiswrapper.spec Tue Sep 26 11:31:58 2006
@@ -119,9 +119,11 @@
%build
%if %{with userspace}
%{__make} -C utils \
+%ifarch %{x8664}
+ CONFIG_X86_64=y \
+%endif
CC="%{__cc}" \
- CFLAGS="%{rpmcflags} -Wall -DUTILS_VERSION=\\\"\$(UTILS_VERSION)\\\"" \
- %{?x8664:CONFIG_X86_64=y}
+ CFLAGS="%{rpmcflags} -Wall -DUTILS_VERSION=\\\"\$(UTILS_VERSION)\\\""
%endif
%if %{with kernel}
@@ -148,7 +150,9 @@
RCS_FIND_IGNORE="-name '*.ko' -o" \
M=$PWD O=$PWD/o \
KVERS="%{_kernel_ver}" \
- %{?x8664:CONFIG_X86_64=y} \
+%ifarch %{x8664}
+ CONFIG_X86_64=y \
+%endif
%{?with_verbose:V=1}
mv ndiswrapper{,-$cfg}.ko
done
@@ -218,6 +222,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.66 2006/09/26 09:31:58 qboosh
+- don't pass CONFIG_X86_64=y on all archs
+
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)
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/ndiswrapper.spec?r1=1.65&r2=1.66&f=u
More information about the pld-cvs-commit
mailing list