[ipxe-devel] [PATCH 1/1] [build] Fix no-PIE workaround for i386 builds
Christian Hesse
list at eworm.de
Fri Apr 24 15:27:41 UTC 2015
Christian Hesse <list at eworm.de> on Wed, 2015/04/08 10:13:
> From: Christian Hesse <mail at eworm.de>
>
> This workaround did not work for my version of gcc (4.9.2 20150304) as
> no option -nopie exists.
>
> We take another way: Let's check whether or not the macro __PIE__ is defined
> and add -fno-PIE if it is.
>
> Signed-off-by: Christian Hesse <mail at eworm.de>
How about this one?
I would like to see it committed. Really annoying to keep build fixes around
when preparing branches.
--
main(a){char*c=/* Schoene Gruesse */"B?IJj;MEH"
"CX:;",b;for(a/* Chris get my mail address: */=0;b=c[a++];)
putchar(b-1/(/* gcc -o sig sig.c && ./sig */b/42*2-3)*42);}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.ipxe.org/pipermail/ipxe-devel/attachments/20150424/6a0fc673/attachment.sig>
More information about the ipxe-devel
mailing list