From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id BCC96138334 for ; Sun, 5 Jan 2020 05:23:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DEC7DE0A00; Sun, 5 Jan 2020 05:23:28 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BFFA2E0A00 for ; Sun, 5 Jan 2020 05:23:28 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CD35634DD7E for ; Sun, 5 Jan 2020 05:23:26 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 69A7842 for ; Sun, 5 Jan 2020 05:23:24 +0000 (UTC) From: "Mike Frysinger" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Frysinger" Message-ID: <1578201697.97e3aec5c63139c691c99a7d5fc1600fd8814e66.vapier@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-fs/nfs-utils/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-fs/nfs-utils/files/nfs-utils-1.2.8-cross-build.patch X-VCS-Directories: net-fs/nfs-utils/files/ X-VCS-Committer: vapier X-VCS-Committer-Name: Mike Frysinger X-VCS-Revision: 97e3aec5c63139c691c99a7d5fc1600fd8814e66 X-VCS-Branch: master Date: Sun, 5 Jan 2020 05:23:24 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: a0028845-fed8-432d-8d15-379e9ba8efa1 X-Archives-Hash: f739e9b8a6840bccad5eb37eec4dda37 commit: 97e3aec5c63139c691c99a7d5fc1600fd8814e66 Author: Mike Frysinger gentoo org> AuthorDate: Sun Jan 5 05:21:37 2020 +0000 Commit: Mike Frysinger gentoo org> CommitDate: Sun Jan 5 05:21:37 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97e3aec5 net-fs/nfs-utils: add metadata to cross-compile patch Signed-off-by: Mike Frysinger gentoo.org> .../nfs-utils/files/nfs-utils-1.2.8-cross-build.patch | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) 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 7317115a0e1..366a85badfe 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 @@