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. Signed-off-by: Joel Stanley <joel@jms.id.au> Acked-by: Chris Packham <judge.packham@gmail.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
parent
115d362e07
commit
c9a13ae083
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user