summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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