]> git.pld-linux.org Git - packages/drbd.git/commitdiff
- fix cross-build
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Sat, 12 Nov 2005 00:04:06 +0000 (00:04 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    drbd.spec -> 1.58

drbd.spec

index 2a6442d4c109188bacb3e01b625af10682c24e12..62bb5c5c6f5e3b10d947c2784097a1a1eaa8e8cb 100644 (file)
--- a/drbd.spec
+++ b/drbd.spec
@@ -131,6 +131,10 @@ for cfg in %{?with_dist_kernel:%{?with_smp:smp} up}%{!?with_dist_kernel:nondist}
                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 \
This page took 0.053554 seconds and 4 git commands to generate.