coreboot-kgpe-d16/payloads/libpayload/bin
Ronald G. Minnich 1a29c1e766 libpayload: fix compiler flags
lpgcc was unconditionally setting -m32.

Most of the flags it sets in the common case are right, however: no need
to duplicate them everywhere, and we only want to change the common ones
in one place, so it would be a shame to duplicate _CFLAGS all over the place.

So add another variable, _ARCHEXTRA, which can be used to add
special flags to _CFLAGS. We onlu use it at present for the x86; this may
change.

This allows us to get through compiling on arm and x86.

Change-Id: I12f1620982c4ee10f76b3953e4225f13db31531e
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
Reviewed-on: http://review.coreboot.org/2399
Tested-by: build bot (Jenkins)
Reviewed-by: Gabe Black <gabeblack@chromium.org>
2013-02-15 06:51:52 +01:00
..
lp.functions libpayload: Implement gcc wrappers for libpayload 2008-04-09 23:05:59 +00:00
lpas Clean up libpayload lpgcc and lpas scripts. 2012-12-08 06:56:34 +01:00
lpgcc libpayload: fix compiler flags 2013-02-15 06:51:52 +01:00