diff options
author | hjl <hjl> | 2001-04-18 15:59:45 +0000 |
---|---|---|
committer | hjl <hjl> | 2001-04-18 15:59:45 +0000 |
commit | 9a85442298a46c364ec71d54719d74eeb16088b8 (patch) | |
tree | 48cd2b042973530401e5731f6591b518f1223d49 /nfs-utils.spec.in | |
parent | 52a03354d4f15bc9333349b366f3545acd32554d (diff) | |
download | nfs-utils-9a85442298a46c364ec71d54719d74eeb16088b8.tar.gz nfs-utils-9a85442298a46c364ec71d54719d74eeb16088b8.tar.xz nfs-utils-9a85442298a46c364ec71d54719d74eeb16088b8.zip |
2001-04-18 H.J. Lu <hjl@lucon.org>
* nfs-utils.spec.in: Support cross build.
* nfs-utils.spec: Regenerated.
(Release): Set to 4.
* config.sub: New.
* config.guess: New.
* config.mk.in (BUILD_CC): New.
(CC): Set to $(BUILD_CC) if BUILD is defined.
(AR): Set to @AR@.
(LD): Set to @LD@.
(RANLIB): Set to @RANLIB@.
* configure.in: Check BUILD_CC, RANLIB, AR and LD.
* configure: Regenerated.
* tools/rpcgen/Makefile (BUILD): Set to true.
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 |