]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
lame: also disable debug handling on arm(eb)
authorPeter Korsgaard <peter@korsgaard.com>
Wed, 26 Nov 2014 13:41:58 +0000 (14:41 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Wed, 26 Nov 2014 13:41:58 +0000 (14:41 +0100)
Not all arm (E.G. non-VFP) toolchains define the control word macros, so
disable debug handling for arm(eb) as well.

As the debug handling has limited value (it simply forces CFLAGS which we
don't want and enables exceptions on FP errors) don't try to be clever about
what toolchain variants to disable it for, but just disable it for all arm(eb).

Fixes http://autobuild.buildroot.net/results/672/672a31c0bd329dec566ba74e0e1be43abd0f16c2/

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/lame/lame.mk

index c179cef409aae41def02b1da4494cf56db52c4af..e9d5d731f3fbb495f2dc0870f7173cf1401950c8 100644 (file)
@@ -19,7 +19,7 @@ LAME_LICENSE_FILES = COPYING
 # So, if BR2_ENABLE_DEBUG is selected, then we have force lame to be
 # built without debug symbols for Aarch64 and MIPS because these
 # architectures don't have those macros defined.
-ifeq ($(BR2_ENABLE_DEBUG)$(BR2_aarch64)$(BR2_mips)$(BR2_mipsel)$(BR2_mips64)$(BR2_mips64el),yy)
+ifeq ($(BR2_ENABLE_DEBUG)$(BR2_aarch64)$(BR2_arm)$(BR2_armeb)$(BR2_mips)$(BR2_mipsel)$(BR2_mips64)$(BR2_mips64el),yy)
 LAME_CONF_OPTS += --disable-debug
 endif