diff options
author | Gustavo Zacarias <gustavo@zacarias.com.ar> | 2015-11-10 11:10:05 -0300 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2015-11-10 23:36:51 +0100 |
commit | 7d435d8510db69ed2f9108abaa52479bce127b72 (patch) | |
tree | 387b9f6667e6a8c305f1a2b8fe7eba17b415bd14 | |
parent | 185aa5b0f0a630b14885b78fb0033397ce7eb3a1 (diff) | |
download | buildroot-7d435d8510db69ed2f9108abaa52479bce127b72.tar.gz buildroot-7d435d8510db69ed2f9108abaa52479bce127b72.zip |
liquid-dsp: fix powerpc/altivec build failures
When a powerpc target is detected the build system tries to force
altivec support but that's wrong:
Not every powerpc processor has altivec instruction support.
It's using the removed/deprecated -faltivec compiler directive when it
should be using -maltivec instead.
Even if the above conditions are corrected the altivec codepath fails
to build properly.
So just disable altivec in general using the standard
--enable-simdoverride configure option. Fixes:
http://autobuild.buildroot.net/results/e1b/e1b6cf76a7a4ae754a928d211e779e9381198f48/
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r-- | package/liquid-dsp/liquid-dsp.mk | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/package/liquid-dsp/liquid-dsp.mk b/package/liquid-dsp/liquid-dsp.mk index 8bb8d54f4c..e7bb686327 100644 --- a/package/liquid-dsp/liquid-dsp.mk +++ b/package/liquid-dsp/liquid-dsp.mk @@ -34,6 +34,11 @@ ifeq ($(BR2_PACKAGE_FFTW_PRECISION_SINGLE),y) LIQUID_DSP_LDFLAGS += -lfftw3f endif +# disable altivec, it has build issues +ifeq ($(BR2_powerpc)$(BR2_powerpc64),y) +LIQUID_DSP_CONF_OPTS += --enable-simdoverride +endif + ifeq ($(BR2_PACKAGE_FFTW_PRECISION_DOUBLE),y) LIQUID_DSP_LDFLAGS += -lfftw3 endif |