flashbench: force gnu99 dialect on sh2a
Fixes: http://autobuild.buildroot.org/results/33880036054c39cb04dad71bc8c0a9eece16fac6 CodeSourcery toolchains for sh2a only provide LLONG_MAX when used with the gnu99 dialect. Signed-off-by: Gilles Talis <gilles.talis@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
c264e38fce
commit
ba5ba0a279
@ -11,8 +11,8 @@ FLASHBENCH_LICENSE_FILES = COPYING
|
||||
|
||||
FLASHBENCH_CFLAGS = $(TARGET_CFLAGS)
|
||||
|
||||
ifeq ($(BR2_microblaze),y)
|
||||
# microblaze toolchain only provides LLONG_MAX when used with gnu99 dialect
|
||||
ifeq ($(BR2_microblaze)$(BR2_sh2a),y)
|
||||
# microblaze and sh2a toolchains only provide LLONG_MAX when used with gnu99 dialect
|
||||
FLASHBENCH_CFLAGS += -std=gnu99
|
||||
endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user