Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/coremark: Set cflags
@ 2022-09-13  7:23 Joel Stanley
  2022-09-16  5:02 ` Chris Packham
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Joel Stanley @ 2022-09-13  7:23 UTC (permalink / raw)
  To: buildroot; +Cc: Chris Packham

The coremark build needs to set PORT_CFLAGS explicitly in order to pick
up the configured optmisation level, and other flags.

Signed-off-by: Joel Stanley <joel@jms.id.au>
---
 package/coremark/coremark.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/coremark/coremark.mk b/package/coremark/coremark.mk
index 418fd5c8d39b..9ea8693e7189 100644
--- a/package/coremark/coremark.mk
+++ b/package/coremark/coremark.mk
@@ -11,6 +11,7 @@ COREMARK_LICENSE_FILES = LICENSE.md
 
 define COREMARK_BUILD_CMDS
 	$(TARGET_MAKE_ENV) $(MAKE) CC="$(TARGET_CC)" -C $(@D) \
+		PORT_CFLAGS="$(TARGET_CFLAGS)" \
 		PORT_DIR=linux$(if $(BR2_ARCH_IS_64),64) EXE= link
 endef
 
-- 
2.35.1

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

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

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

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-13  7:23 [Buildroot] [PATCH] package/coremark: Set cflags Joel Stanley
2022-09-16  5:02 ` Chris Packham
2022-10-16  4:50   ` Joel Stanley
2023-04-16 19:12 ` Yann E. MORIN
2023-04-23 10:29 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox