PACKAGE-mpg123: use LFS alias type of long for ARM (#106)

This commit is contained in:
Apaczer
2024-06-19 21:57:36 +02:00
committed by GitHub
parent 8c3d70a6f4
commit ce8e150cd5

View File

@@ -20,6 +20,10 @@ MPG123_CPU = aarch64
endif
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)
MPG123_CPU = arm_fpu
else
@@ -81,7 +85,4 @@ else
MPG123_CONF_OPTS += --enable-modules
endif
# the LFS wrappers brake mpg123_seek on ARM 32bit
MPG123_CONF_OPTS += --disable-lfs-alias
$(eval $(autotools-package))