summaryrefslogtreecommitdiffstats
path: root/package/flashbench
diff options
context:
space:
mode:
authorgilles.talis@gmail.com <gilles.talis@gmail.com>2013-02-26 15:22:38 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2013-02-27 08:45:44 +0100
commitba5ba0a279a9ed5dbc1d29f930d4183a34db1acf (patch)
treeca10b57b4e7a55071f8bebffb6df019fdb1370bf /package/flashbench
parentc264e38fce27789a0ab050b6296c2fee8da3752c (diff)
downloadbuildroot-novena-ba5ba0a279a9ed5dbc1d29f930d4183a34db1acf.tar.gz
buildroot-novena-ba5ba0a279a9ed5dbc1d29f930d4183a34db1acf.zip
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>
Diffstat (limited to 'package/flashbench')
-rw-r--r--package/flashbench/flashbench.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/flashbench/flashbench.mk b/package/flashbench/flashbench.mk
index faf8ae69e..45d054004 100644
--- a/package/flashbench/flashbench.mk
+++ b/package/flashbench/flashbench.mk
@@ -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