summaryrefslogtreecommitdiff
path: root/package/nfs-utils/patches/0003-Build-tools-with-host-compiler.patch
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2021-11-02 03:24:52 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2021-11-04 02:09:56 +0100
commit622819c8f12c7b2e75f4eaecdd65c17ce63ccbdd (patch)
tree61ec8274b2cfa01d71bf827c715ae52c83a76b17 /package/nfs-utils/patches/0003-Build-tools-with-host-compiler.patch
parent938bb9c51c9ee0a476b440c70b15cbc8edcbf087 (diff)
nfs-utils: Update to version 2.5.2
Also update patches. Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'package/nfs-utils/patches/0003-Build-tools-with-host-compiler.patch')
-rw-r--r--package/nfs-utils/patches/0003-Build-tools-with-host-compiler.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/package/nfs-utils/patches/0003-Build-tools-with-host-compiler.patch b/package/nfs-utils/patches/0003-Build-tools-with-host-compiler.patch
new file mode 100644
index 000000000..fb81a1ee8
--- /dev/null
+++ b/package/nfs-utils/patches/0003-Build-tools-with-host-compiler.patch
@@ -0,0 +1,24 @@
+From 9c48cf1a9e3cbb2dce76696dbf6898eb6886c7b5 Mon Sep 17 00:00:00 2001
+From: Phil Sutter <phil@nwl.cc>
+Date: Mon, 4 Jan 2021 16:49:30 +0100
+Subject: [PATCH] Build tools with host compiler
+
+---
+ tools/rpcgen/Makefile.am | 5 +++++
+ 1 file changed, 5 insertions(+)
+
+diff --git a/tools/rpcgen/Makefile.am b/tools/rpcgen/Makefile.am
+index 457cd5074a1b1..e70af70a7e469 100644
+--- a/tools/rpcgen/Makefile.am
++++ b/tools/rpcgen/Makefile.am
+@@ -1,5 +1,10 @@
+ CLEANFILES = *~
+
++CC=$(CC_FOR_BUILD)
++CFLAGS=$(CFLAGS_FOR_BUILD)
++CPPFLAGS=$(CPPFLAGS_FOR_BUILD)
++LDFLAGS=$(LDFLAGS_FOR_BUILD)
++
+ bin_PROGRAMS = rpcgen
+ man_MANS = rpcgen.1
+