package/coremark: Set cflags
PATCH 1/1 package/coremark: Set cflags
The coremark build needs to set PORT_CFLAGS explicitly in order to pick up the configured optmisation level, and other flags.
--- package/coremark/coremark.mk | 1 + 1 file changed, 1 insertion(+)
package/coremark/coremark.mk +1 -0
@@ -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
Signature · 6 lines
2.35.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 5 lines · Joel Stanley
The coremark build needs to set
PORT_CFLAGSexplicitly in order to pick up the configured optmisation level, and other flags.Signed-off-by Joel Stanley <[email protected]>
Quoted 17 lines
--- package/coremark/coremark.mk | 1 + 1 file changed, 1 insertion(+)package/coremark/coremark.mk +1
-1@@ -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 --
Quoted 2 lines
2.35.1
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 9 lines · Chris Packham
Quoted 5 lines · Joel Stanley
The coremark build needs to set
PORT_CFLAGSexplicitly in order to pick up the configured optmisation level, and other flags.Signed-off-by Joel Stanley <[email protected]>Acked-by Chris Packham <[email protected]>
ping
Quoted 17 lines
Quoted 17 lines
--- package/coremark/coremark.mk | 1 + 1 file changed, 1 insertion(+)package/coremark/coremark.mk +1
-0@@ -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
Quoted 3 lines
Quoted 3 lines
--
2.35.1
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Yann E. MORIN
AppliedJoel, All,
On 2022-09-13 16:53 +0930, Joel Stanley spake thusly:
Quoted 4 lines
The coremark build needs to set
PORT_CFLAGSexplicitly in order to pick up the configured optmisation level, and other flags.Signed-off-by Joel Stanley <[email protected]>
Applied to master, thanks.
Sorry for the delay in reviewing and applying such a simple patch. :-(
Regards,
Yann E. MORIN.
Quoted 23 lines
--- package/coremark/coremark.mk | 1 + 1 file changed, 1 insertion(+)package/coremark/coremark.mk +1
-0@@ -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 endefSignature · 6 lines
2.35.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Signature · 10 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Joel" == Joel Stanley <[email protected]> writes:
The coremark build needs to set
PORT_CFLAGSexplicitly in order to pick up the configured optmisation level, and other flags.Signed-off-by Joel Stanley <[email protected]>
Committed to 2023.02.x and 2022.02.x, thanks.
Signature · 5 lines
Bye, Peter Korsgaard _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot