aboutsummaryrefslogtreecommitdiff
path: root/package/flashbench/flashbench.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/flashbench/flashbench.mk')
-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 faf8ae69ec..45d054004d 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