* [Buildroot] [PATCH] flashbench: force gnu99 dialect on sh2a
@ 2013-02-27 1:22 Gilles Talis
2013-02-27 7:46 ` Peter Korsgaard
0 siblings, 1 reply; 2+ messages in thread
From: Gilles Talis @ 2013-02-27 1:22 UTC (permalink / raw)
To: buildroot
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>
---
package/flashbench/flashbench.mk | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/package/flashbench/flashbench.mk b/package/flashbench/flashbench.mk
index faf8ae6..45d0540 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
--
1.7.4.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH] flashbench: force gnu99 dialect on sh2a
2013-02-27 1:22 [Buildroot] [PATCH] flashbench: force gnu99 dialect on sh2a Gilles Talis
@ 2013-02-27 7:46 ` Peter Korsgaard
0 siblings, 0 replies; 2+ messages in thread
From: Peter Korsgaard @ 2013-02-27 7:46 UTC (permalink / raw)
To: buildroot
>>>>> "Gilles" == Gilles Talis <gilles.talis@gmail.com> 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.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-02-27 7:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-27 1:22 [Buildroot] [PATCH] flashbench: force gnu99 dialect on sh2a Gilles Talis
2013-02-27 7:46 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox