From 97e3aec5c63139c691c99a7d5fc1600fd8814e66 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 5 Jan 2020 11:06:37 +0545 Subject: net-fs/nfs-utils: add metadata to cross-compile patch Signed-off-by: Mike Frysinger --- .../nfs-utils/files/nfs-utils-1.2.8-cross-build.patch | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'net-fs/nfs-utils/files') diff --git a/net-fs/nfs-utils/files/nfs-utils-1.2.8-cross-build.patch b/net-fs/nfs-utils/files/nfs-utils-1.2.8-cross-build.patch index 7317115a0e18..366a85badfe3 100644 --- a/net-fs/nfs-utils/files/nfs-utils-1.2.8-cross-build.patch +++ b/net-fs/nfs-utils/files/nfs-utils-1.2.8-cross-build.patch @@ -3,6 +3,25 @@ for us atm, so hack away :( (recent autotools will always add $(CFLAGS)/etc... to the compile) +posted upstream: +https://marc.info/?l=linux-nfs&m=136416341629788&w=2 +Date: Sun, 24 Mar 2013 22:21:08 +0000 +Message-ID: 1364163668-15490-1-git-send-email-vapier@gentoo.org + +From 269ae1346d9ccc97304205066d20e7e7b638f30e Mon Sep 17 00:00:00 2001 +From: Mike Frysinger +Date: Sun, 24 Mar 2013 18:14:48 -0400 +Subject: [PATCH nfs-utils] locktes/rpcgen: tweak how we override compiler settings + +Newer autotools will use both CFLAGS and _CFLAGS when compiling +the . Adding the build settings to the target-specific flags no +longer works as a way to compile build-time tools. + +Instead, clobber the global flags. This triggers an automake warning, +but the end result actually works (unlike the existing code). + +Signed-off-by: Mike Frysinger + --- a/tools/locktest/Makefile.am +++ b/tools/locktest/Makefile.am @@ -1,12 +1,11 @@ -- cgit v1.2.3