grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Add TARGET_CFLAGS to efiemu link format test


From: Vladimir 'φ-coder/phcoder' Serbinenko
Subject: Re: Add TARGET_CFLAGS to efiemu link format test
Date: Mon, 27 Jan 2014 03:56:40 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Icedove/24.2.0

On 26.01.2014 23:29, Glenn Washburn wrote:
> Its been a while since I've compiled grub using the latest git.  When I
> just did, the build now fails in configure when evaluating the efiemu
> link format test (which was being automatically chosen by efiemu
> option being guessed to "yes"). The proximate issue was that the test
> program failed to compile due to a missing include directory (which may
> be the result of a packaging issue on my machine).
> 
> Whereas when compiling for the emu platform the efiemu allows for the
> CFLAGS to be affected by the TARGET_CFLAGS environment variable, there
> is no equivalent method to affect the CFLAGS of the test for i386
> platforms.  So I added TARGET_CFLAGS (and TARGET_LDFLAGS) for symmetry
> with the emu platform.
> 
> The attached patch allowed me to successfully compile with efiemu
> (untested since I don't actually use efiemu).  Perhaps it will be of
> use to others.
> 
efiemu is compiled in its own environment and using TARGET_CFLAGS on it
would break it in some cases. Please attach the logs of failed attempts.
> Glenn
> 
> 
> 
> _______________________________________________
> Grub-devel mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/grub-devel
> 


Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]