From: Jan Kiszka <[email protected]> Make sure to pass the CFLAGS to gcc when retrieving libgcc files - it may contain an arch override.
Signed-off-by: Jan Kiszka <[email protected]> --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 911971f..426a17f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -177,7 +177,7 @@ $(top_builddir)/drivers/watchdog/%.o: $(top_srcdir)/drivers/watchdog/%.S $(efi_solib): $(efi_objects) $(AM_V_CCLD)$(LD) $(efi_ldflags) $(efi_objects) \ - -o $@ -lefi -lgnuefi $(shell $(CC) -print-libgcc-file-name); \ + -o $@ -lefi -lgnuefi $(shell $(CC) $(CFLAGS) -print-libgcc-file-name); \ nm -D -u $@ | grep ' U ' && exit 1 || : $(efi_loadername): $(efi_solib) -- 2.12.3 -- You received this message because you are subscribed to the Google Groups "EFI Boot Guard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/efibootguard-dev/9953ad6743ca8672d41d3c78025e39b52b94ef70.1506284412.git.jan.kiszka%40siemens.com. For more options, visit https://groups.google.com/d/optout.
