1 |
commit: 97e3aec5c63139c691c99a7d5fc1600fd8814e66 |
2 |
Author: Mike Frysinger <vapier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jan 5 05:21:37 2020 +0000 |
4 |
Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jan 5 05:21:37 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97e3aec5 |
7 |
|
8 |
net-fs/nfs-utils: add metadata to cross-compile patch |
9 |
|
10 |
Signed-off-by: Mike Frysinger <vapier <AT> gentoo.org> |
11 |
|
12 |
.../nfs-utils/files/nfs-utils-1.2.8-cross-build.patch | 19 +++++++++++++++++++ |
13 |
1 file changed, 19 insertions(+) |
14 |
|
15 |
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 |
16 |
index 7317115a0e1..366a85badfe 100644 |
17 |
--- a/net-fs/nfs-utils/files/nfs-utils-1.2.8-cross-build.patch |
18 |
+++ b/net-fs/nfs-utils/files/nfs-utils-1.2.8-cross-build.patch |
19 |
@@ -3,6 +3,25 @@ for us atm, so hack away :( |
20 |
|
21 |
(recent autotools will always add $(CFLAGS)/etc... to the compile) |
22 |
|
23 |
+posted upstream: |
24 |
+https://marc.info/?l=linux-nfs&m=136416341629788&w=2 |
25 |
+Date: Sun, 24 Mar 2013 22:21:08 +0000 |
26 |
+Message-ID: 1364163668-15490-1-git-send-email-vapier@g.o |
27 |
+ |
28 |
+From 269ae1346d9ccc97304205066d20e7e7b638f30e Mon Sep 17 00:00:00 2001 |
29 |
+From: Mike Frysinger <vapier@g.o> |
30 |
+Date: Sun, 24 Mar 2013 18:14:48 -0400 |
31 |
+Subject: [PATCH nfs-utils] locktes/rpcgen: tweak how we override compiler settings |
32 |
+ |
33 |
+Newer autotools will use both CFLAGS and <target>_CFLAGS when compiling |
34 |
+the <target>. Adding the build settings to the target-specific flags no |
35 |
+longer works as a way to compile build-time tools. |
36 |
+ |
37 |
+Instead, clobber the global flags. This triggers an automake warning, |
38 |
+but the end result actually works (unlike the existing code). |
39 |
+ |
40 |
+Signed-off-by: Mike Frysinger <vapier@g.o> |
41 |
+ |
42 |
--- a/tools/locktest/Makefile.am |
43 |
+++ b/tools/locktest/Makefile.am |
44 |
@@ -1,12 +1,11 @@ |