summaryrefslogtreecommitdiffstats
path: root/package/Makefile.in
diff options
context:
space:
mode:
authorUlf Samuelsson <ulf.samuelsson@atmel.com>2009-01-24 11:27:47 +0000
committerUlf Samuelsson <ulf.samuelsson@atmel.com>2009-01-24 11:27:47 +0000
commit81a9f0411400e3dd3b527ddcf917b40a5dc0fe7c (patch)
treeb8c773760b2efcb804853d61f6584d47b96b1b6e /package/Makefile.in
parentb3f1b6a02e961a957625332a4bd17c8a3f91c0af (diff)
downloadbuildroot-novena-81a9f0411400e3dd3b527ddcf917b40a5dc0fe7c.tar.gz
buildroot-novena-81a9f0411400e3dd3b527ddcf917b40a5dc0fe7c.zip
Make toolchain configration to fix mpg123 global and move to Makefile
Diffstat (limited to 'package/Makefile.in')
-rw-r--r--package/Makefile.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/package/Makefile.in b/package/Makefile.in
index e9cf014f0..25aadf7a5 100644
--- a/package/Makefile.in
+++ b/package/Makefile.in
@@ -88,6 +88,14 @@ 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