SPECS: drbd.spec - fix cross-build
arekm
arekm at pld-linux.org
Sat Nov 12 01:04:11 CET 2005
Author: arekm Date: Sat Nov 12 00:04:11 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- fix cross-build
---- Files affected:
SPECS:
drbd.spec (1.57 -> 1.58)
---- Diffs:
================================================================
Index: SPECS/drbd.spec
diff -u SPECS/drbd.spec:1.57 SPECS/drbd.spec:1.58
--- SPECS/drbd.spec:1.57 Sat Nov 12 00:50:50 2005
+++ SPECS/drbd.spec Sat Nov 12 01:04:06 2005
@@ -132,6 +132,10 @@
M=$PWD O=$PWD \
%{?with_verbose:V=1}
%{__make} -C %{_kernelsrcdir} modules \
+%if "%{_target_base_arch}" != "%{_arch}"
+ ARCH=%{_target_base_arch} \
+ CROSS_COMPILE=%{_target_cpu}-pld-linux- \
+%endif
HOSTCC="%{__cc}" \
CPP="%{__cpp}" \
M=$PWD O=$PWD \
@@ -227,6 +231,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.58 2005/11/12 00:04:06 arekm
+- fix cross-build
+
Revision 1.57 2005/11/11 23:50:50 arekm
- rel 2; sparc->sparc64 support
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/drbd.spec?r1=1.57&r2=1.58&f=u
More information about the pld-cvs-commit
mailing list