summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-11-08 15:40:49 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-11-08 15:42:10 +0100
commit226d23c3f9a77bdf432ef240ae917a20a012edb8 (patch)
treeed6e3647fd6cbfb4e20003703418d51df1d93fbb
parentfa110626f7225381e79eeb00743e6dd04e8b7757 (diff)
downloadbuildroot-226d23c3f9a77bdf432ef240ae917a20a012edb8.tar.gz
buildroot-226d23c3f9a77bdf432ef240ae917a20a012edb8.zip
liquid-dsp: work-around compiler bug on SuperH
On SuperH, the BR2_PACKAGE_LIQUID_DSP_FAST option of the liquid-dsp package causes triggers a compiler bug with the Sourcery CodeBench toolchains: src/filter/src/firdes.c:406:1: internal compiler error: in gen_reg_rtx, at emit-rtl.c:859 This commit works around this problem by simply making this option unavailable with the problematic toolchains. Fixes: http://autobuild.buildroot.net/results/d43/d43574b8f487648bc440fbe0b63b2a08b309dfc7/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/liquid-dsp/Config.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/liquid-dsp/Config.in b/package/liquid-dsp/Config.in
index 834496c80c..95233da3a0 100644
--- a/package/liquid-dsp/Config.in
+++ b/package/liquid-dsp/Config.in
@@ -18,6 +18,9 @@ if BR2_PACKAGE_LIQUID_DSP
config BR2_PACKAGE_LIQUID_DSP_FAST
bool "optimize for speed over accuracy"
+ depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201209 && \
+ !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201203 && \
+ !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201103
help
Optimize for speed over accuracy.
OpenPOWER on IntegriCloud