All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/memtest86: pass TARGET_CC
@ 2023-12-07 22:09 Fabrice Fontaine
  2023-12-08 22:53 ` Yann E. MORIN
  0 siblings, 1 reply; 7+ messages in thread
From: Fabrice Fontaine @ 2023-12-07 22:09 UTC (permalink / raw)
  To: buildroot; +Cc: Steve Kenton, Fabrice Fontaine

Pass CC=$(TARGET_CC) to make to avoid the following build failure raised
since bump to version 6.20 in commit
a743087593a5fd5b33e2650591cada09929c27a6:

gcc -m32 -x assembler-with-cpp -c -I../boot -o boot/startup.o ../boot/startup32.S
gcc: error: unrecognized command-line option '-m32'

Fixes:
 - http://autobuild.buildroot.org/results/15ece19703bb21c1326ff353aa79f3550a01f648

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/memtest86/memtest86.mk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/package/memtest86/memtest86.mk b/package/memtest86/memtest86.mk
index c0f85755fe..51d5805e0a 100644
--- a/package/memtest86/memtest86.mk
+++ b/package/memtest86/memtest86.mk
@@ -20,7 +20,8 @@ endif
 endif
 
 define MEMTEST86_BUILD_CMDS
-	$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D)/$(MEMTEST86_BUILD_DIR)
+	$(TARGET_CONFIGURE_OPTS) $(MAKE) CC=$(TARGET_CC) \
+		-C $(@D)/$(MEMTEST86_BUILD_DIR)
 endef
 
 define MEMTEST86_INSTALL_IMAGES_CMDS
-- 
2.42.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-12-23 20:10 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-07 22:09 [Buildroot] [PATCH 1/1] package/memtest86: pass TARGET_CC Fabrice Fontaine
2023-12-08 22:53 ` Yann E. MORIN
2023-12-08 23:04   ` Fabrice Fontaine
2023-12-08 23:12     ` Yann E. MORIN
2023-12-08 23:20       ` Fabrice Fontaine
2023-12-09  9:28         ` Yann E. MORIN
2023-12-23 20:10           ` Thomas Petazzoni via buildroot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.