mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-01 06:21:56 -09:00
Make toolchain configration to fix mpg123 global and move to Makefile
This commit is contained 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
|
||||
|
||||
Reference in New Issue
Block a user