package/flac: Configure powerpc vector extensions
Remove the hard coded disabling of altivec and vsx, and instead use the BR2_POWERPC_CPU_HAS_VSX and BR2_POWERPC_CPU_HAS_ALTIVEC variables to control the flags. Signed-off-by: Joel Stanley <joel@jms.id.au> [Arnout: rewrite with $(if ...) and --enable] Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
parent
f3c9d992cf
commit
41d22ae1ab
@ -17,11 +17,11 @@ FLAC_CPE_ID_VENDOR = flac_project
|
||||
FLAC_AUTORECONF = YES
|
||||
|
||||
FLAC_CONF_OPTS = \
|
||||
$(if $(BR2_POWERPC_CPU_HAS_ALTIVEC),--enable-altivec,--disable-altivec) \
|
||||
$(if $(BR2_INSTALL_LIBSTDCPP),--enable-cpplibs,--disable-cpplibs) \
|
||||
$(if $(BR2_POWERPC_CPU_HAS_VSX),--enable-vsx,--disable-vsx) \
|
||||
--disable-xmms-plugin \
|
||||
--disable-altivec \
|
||||
--disable-stack-smash-protection \
|
||||
--disable-vsx
|
||||
--disable-stack-smash-protection
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBOGG),y)
|
||||
FLAC_CONF_OPTS += --with-ogg=$(STAGING_DIR)/usr
|
||||
|
Loading…
Reference in New Issue
Block a user