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>
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