mpg123: remove arm funroll-loops workaround

Fixed by toolchain patch.
This commit is contained in:
Peter Korsgaard 2009-02-05 13:24:18 +00:00
parent a1b8914cee
commit 2c89d7aeb6
3 changed files with 1 additions and 2135 deletions

View File

@ -88,14 +88,6 @@ ifeq ($(BR2_LARGEFILE),y)
TARGET_CFLAGS+=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
endif
# Handle bug fixes in toolchain
ifeq ($(BR2_arm),y)
ifeq ($(BR2_GCC_VERSION_4_3_2),y)
# Removes segment violation in mpg123.
TARGET_CFLAGS+=-DARM_UNROLL_FIX
endif
endif
TARGET_CXXFLAGS=$(TARGET_CFLAGS)
# else it's an external toolchain

File diff suppressed because it is too large Load Diff

View File

@ -31,7 +31,7 @@ $(MPG123_DIR)/.configured: $(MPG123_DIR)/.unpacked
(cd $(MPG123_DIR); rm -rf config.cache; \
$(TARGET_CONFIGURE_ARGS) \
$(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS) $(MPG123_ARM_UNROLL_FIX)" \
CFLAGS="$(TARGET_CFLAGS)" \
LDFLAGS="$(TARGET_LDFLAGS)" \
./configure \
--target=$(REAL_GNU_TARGET_NAME) \