summaryrefslogtreecommitdiffstats
path: root/package/tremor
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2012-11-10 12:43:01 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2012-11-15 16:41:34 +0100
commit695c4bcebc6093f44d21117489bb72cc7c76c5af (patch)
treed625c5361e1181257614138cf4f69d531114bf39 /package/tremor
parent171075ed4fca754907d2c83800a7f383805196ec (diff)
downloadbuildroot-novena-695c4bcebc6093f44d21117489bb72cc7c76c5af.tar.gz
buildroot-novena-695c4bcebc6093f44d21117489bb72cc7c76c5af.zip
tremor: force ARM mode when building to avoid Thumb2 build problems
Fixes: http://autobuild.buildroot.org/results/502b7d3f29d7982d56de2ae4a0b943315e04713b/build-end.log Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/tremor')
-rw-r--r--package/tremor/tremor.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/package/tremor/tremor.mk b/package/tremor/tremor.mk
index fceee1bdc..cd1d32363 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))