the following patch was just integrated into master: commit 1a29c1e7665c22476b74d469952d7e689d475cdf Author: Ronald G. Minnich rminnich@gmail.com Date: Thu Feb 14 15:26:09 2013 -0800
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
Build-Tested: build bot (Jenkins) at Fri Feb 15 00:53:42 2013, giving +1 Reviewed-By: Gabe Black gabeblack@chromium.org at Fri Feb 15 06:26:44 2013, giving +2 See http://review.coreboot.org/2399 for details.
-gerrit