diff options
author | Thomas Heijligen <src@posteo.de> | 2022-11-29 19:51:03 +0100 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2023-03-07 17:10:36 +0000 |
commit | c0c62ebbae1d22c1882026cad41d530fa9854175 (patch) | |
tree | a53c23a1937519c78ad1a9abcf675bcc7388af76 /src/lib/gcov-io.c | |
parent | f0c1c9791b2909e5d963d55b215485f66f1fc62e (diff) |
libpayload: bin/lpgcc allow to call without files
When building libflashrom ontop of libpayload, meson calls the lpgcc
wrapper with -xc but without a file to obtain information about the C
compiler. To make this work guard $_LIBGCC with -xnone in the lpgcc
wrapper. -xnone tells the compiler to interpret the following files of
libpayload by their suffix, not the privious given -x option.
Change-Id: I9e037ff44c0a6d0585d8a6f8aeabae6e651142e2
Signed-off-by: Thomas Heijligen <src@posteo.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/70117
Reviewed-by: Julius Werner <jwerner@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'src/lib/gcov-io.c')
0 files changed, 0 insertions, 0 deletions