diff options
Diffstat (limited to 'nfs-utils.spec.in')
-rw-r--r-- | nfs-utils.spec.in | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/nfs-utils.spec.in b/nfs-utils.spec.in index 074f601..1726468 100644 --- a/nfs-utils.spec.in +++ b/nfs-utils.spec.in @@ -35,7 +35,13 @@ clients which are mounted on that host. %setup -q %build +%if %{_target_cpu} != %{_build_cpu} +CC=%{__cc}; export CC +BUILD_CC=gcc; export BUILD_CC +%configure --build=%{__build_alias} +%else %configure +%endif make all %install |