From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1L7C9e-000245-T3 for mharc-grub-devel@gnu.org; Mon, 01 Dec 2008 12:01:51 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L7C9d-00022w-7d for grub-devel@gnu.org; Mon, 01 Dec 2008 12:01:49 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L7C9b-00021U-Ga for grub-devel@gnu.org; Mon, 01 Dec 2008 12:01:48 -0500 Received: from [199.232.76.173] (port=36318 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L7C9b-00021F-5d for grub-devel@gnu.org; Mon, 01 Dec 2008 12:01:47 -0500 Received: from mta-out.inet.fi ([195.156.147.13]:49778 helo=jenni1.inet.fi) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L7C9a-0005iv-Gt for grub-devel@gnu.org; Mon, 01 Dec 2008 12:01:46 -0500 Received: from [192.168.1.102] (84.248.105.254) by jenni1.inet.fi (8.5.014) id 48FC59C701EBF6E2 for grub-devel@gnu.org; Mon, 1 Dec 2008 19:01:42 +0200 Message-ID: <49341876.6070003@nic.fi> Date: Mon, 01 Dec 2008 19:01:42 +0200 From: =?ISO-8859-1?Q?Vesa_J=E4=E4skel=E4inen?= User-Agent: Thunderbird 2.0.0.18 (Windows/20081105) MIME-Version: 1.0 To: The development of GRUB 2 References: <1228150293.7686.9.camel@manoel-laptop> In-Reply-To: <1228150293.7686.9.camel@manoel-laptop> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Subject: Re: [PATCH] --build-id= none in newer ld versions PowerPC X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Dec 2008 17:01:49 -0000 Manoel Rebelo Abranches wrote: > This patch add --build-id=none option to newer ld versions when linking > kernel.elf. > This prevents grub-mkelfimage to behave wrongly. > if test "x$grub_cv_prog_ld_build_id_none" = xyes; then > MODULE_LDFLAGS="$MODULE_LDFLAGS -Wl,--build-id=none" > + PPC_BUILD_ID_FLAG="-Wl,--build-id=none" > fi > ]) How about changing that to KERNEL_LDFLAGS? Then one could use it for other purposes if needed?