flashbench: force gnu99 dialect on sh2a
PATCH 1/1 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 <[email protected]>
--- package/flashbench/flashbench.mk | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
package/flashbench/flashbench.mk +2 -2
@@ -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
Signature · 1 line
1.7.4.1
PATCH 1/1 flashbench: force gnu99 dialect on sh2a
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Gilles" == Gilles Talis <[email protected]> writes:
Gilles> Fixes:
Gilles> http://autobuild.buildroot.org/results/33880036054c39cb04dad71bc8c0a9eece16fac6
Gilles> CodeSourcery toolchains for sh2a only provide LLONG_MAX when Gilles> used with the gnu99 dialect.
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard