Commit ba5ba0a2 authored by gilles.talis@gmail.com's avatar gilles.talis@gmail.com Committed by Peter Korsgaard
Browse files

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: default avatarGilles Talis <gilles.talis@gmail.com>
Signed-off-by: default avatarPeter Korsgaard <jacmet@sunsite.dk>
parent c264e38f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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