Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] tremor: force ARM mode when building to avoid Thumb2 build problems
@ 2012-11-10 22:43 Thomas Petazzoni
  2012-11-15 15:16 ` Thomas Petazzoni
  2012-11-15 15:41 ` Peter Korsgaard
  0 siblings, 2 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2012-11-10 22:43 UTC (permalink / raw)
  To: buildroot

Fixes:

  http://autobuild.buildroot.org/results/502b7d3f29d7982d56de2ae4a0b943315e04713b/build-end.log

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/tremor/tremor.mk |    7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/package/tremor/tremor.mk b/package/tremor/tremor.mk
index fceee1b..cd1d323 100644
--- a/package/tremor/tremor.mk
+++ b/package/tremor/tremor.mk
@@ -12,4 +12,11 @@ TREMOR_AUTORECONF = YES
 TREMOR_INSTALL_STAGING = YES
 TREMOR_DEPENDENCIES = libogg
 
+# tremor has ARM assembly code that cannot be compiled in Thumb2 mode,
+# so we must force the traditional ARM mode.
+ifeq ($(BR2_arm),y)
+TREMOR_CONF_ENV = \
+	CFLAGS="$(TARGET_CFLAGS) -marm"
+endif
+
 $(eval $(autotools-package))
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-11-15 15:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-10 22:43 [Buildroot] [PATCH] tremor: force ARM mode when building to avoid Thumb2 build problems Thomas Petazzoni
2012-11-15 15:16 ` Thomas Petazzoni
2012-11-15 15:41 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox