summaryrefslogtreecommitdiff
path: root/payloads/libpayload/include/libpayload.h
diff options
context:
space:
mode:
authorRonald G. Minnich <rminnich@gmail.com>2013-02-14 15:26:09 -0800
committerGabe Black <gabeblack@chromium.org>2013-02-15 06:51:52 +0100
commit1a29c1e7665c22476b74d469952d7e689d475cdf (patch)
tree4d1d48503e5117423947c83ded75ffadbc7cb71b /payloads/libpayload/include/libpayload.h
parent2cc105c741357e7dc13a456726456bdbb6fcb5e6 (diff)
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>
Diffstat (limited to 'payloads/libpayload/include/libpayload.h')
0 files changed, 0 insertions, 0 deletions