Add fix to mpg123 for bug in ARM release toolchain causing segment violation, bug reported to gcc bugzilla

This commit is contained in:
Ulf Samuelsson 2009-01-24 10:15:05 +00:00
parent 309ff4f976
commit a467f95953
3 changed files with 2140 additions and 1 deletions

View File

@ -10,3 +10,7 @@ config BR2_PACKAGE_MPG123_ALSA
bool
default y
depends on BR2_PACKAGE_ALSA_LIB
config BR2_PACKAGE_MPG123_ARM_UNROLL_FIX
bool
default y if BR2_arm && BR2_GCC_VERSION_4_3_2

File diff suppressed because it is too large Load Diff

View File

@ -18,6 +18,10 @@ MPG123_USE_ALSA:=--with-audio=alsa
MPG123_ALSA_DEP:=alsa-lib
endif
ifeq ($(BR2_PACKAGE_MPG123_ARM_UNROLL_FIX),y)
MPG123_ARM_UNROLL_FIX:= -DMPG123_ARM_UNROLL_FIX
endif
$(DL_DIR)/$(MPG123_SOURCE):
$(call DOWNLOAD,$(MPG123_SITE),$(MPG123_SOURCE))
@ -31,7 +35,7 @@ $(MPG123_DIR)/.configured: $(MPG123_DIR)/.unpacked
(cd $(MPG123_DIR); rm -rf config.cache; \
$(TARGET_CONFIGURE_ARGS) \
$(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS)" \
CFLAGS="$(TARGET_CFLAGS) $(MPG123_ARM_UNROLL_FIX)" \
LDFLAGS="$(TARGET_LDFLAGS)" \
./configure \
--target=$(REAL_GNU_TARGET_NAME) \
@ -55,6 +59,11 @@ $(TARGET_DIR)/$(MPG123_TARGET_BIN): $(MPG123_DIR)/$(MPG123_BIN)
mpg123: uclibc $(MPG123_ALSA_DEP) $(TARGET_DIR)/$(MPG123_TARGET_BIN)
mpg123x:
touch $(MPG123_DIR)/.configured
mpg123-unpacked: $(MPG123_DIR)/.unpacked
mpg123-clean:
-$(MAKE) -C $(MPG123_DIR) clean