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:
gilles.talis@gmail.com 2013-02-26 15:22:38 +00:00 committed by Peter Korsgaard
parent c264e38fce
commit ba5ba0a279
1 changed files with 2 additions and 2 deletions

View File

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