buildrootschalter/package/tremor/tremor.mk
Thomas Petazzoni 695c4bcebc 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>
2012-11-15 16:41:34 +01:00

23 lines
570 B
Makefile

############################################################
#
# Tremor (Integer decoder for Vorbis)
#
############################################################
TREMOR_SITE = http://svn.xiph.org/trunk/Tremor/
TREMOR_SITE_METHOD = svn
TREMOR_VERSION = 18153
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))