mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
PACKAGE-mpg123: use LFS alias type of long for ARM (#106)
This commit is contained in:
@@ -20,6 +20,10 @@ MPG123_CPU = aarch64
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_arm),y)
|
ifeq ($(BR2_arm),y)
|
||||||
|
# the LFS wrappers brake mpg123_seek on ARM 32bit
|
||||||
|
MPG123_CONF_OPTS += --disable-lfs-alias
|
||||||
|
# also overwrite cflags to not pass -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' macros
|
||||||
|
MPG123_CONF_ENV += CPPFLAGS=" " CFLAGS=" "
|
||||||
ifeq ($(or $(BR2_ARM_CPU_HAS_NEON),$(BR2_ARM_CPU_HAS_VFPV2)),y)
|
ifeq ($(or $(BR2_ARM_CPU_HAS_NEON),$(BR2_ARM_CPU_HAS_VFPV2)),y)
|
||||||
MPG123_CPU = arm_fpu
|
MPG123_CPU = arm_fpu
|
||||||
else
|
else
|
||||||
@@ -81,7 +85,4 @@ else
|
|||||||
MPG123_CONF_OPTS += --enable-modules
|
MPG123_CONF_OPTS += --enable-modules
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# the LFS wrappers brake mpg123_seek on ARM 32bit
|
|
||||||
MPG123_CONF_OPTS += --disable-lfs-alias
|
|
||||||
|
|
||||||
$(eval $(autotools-package))
|
$(eval $(autotools-package))
|
||||||
|
|||||||
Reference in New Issue
Block a user