aboutsummaryrefslogtreecommitdiff
path: root/package/fftw/Config.in
diff options
context:
space:
mode:
Diffstat (limited to 'package/fftw/Config.in')
-rw-r--r--package/fftw/Config.in13
1 files changed, 13 insertions, 0 deletions
diff --git a/package/fftw/Config.in b/package/fftw/Config.in
index 4cefa28edf..4a0706a6be 100644
--- a/package/fftw/Config.in
+++ b/package/fftw/Config.in
@@ -49,4 +49,17 @@ config BR2_PACKAGE_FFTW_PRECISION_QUAD
endchoice
+config BR2_PACKAGE_FFTW_FAST
+ bool "optimise for speed over accuracy"
+ help
+ Optimise for fast math functions, at the expense of accuracy.
+
+ Say 'y' if you need speed and can live with inaccuracies in
+ the results. Say 'n' (the default) if accuracy is of utmost
+ importance.
+
+ This basically uses gcc's -Ofast optimisation level, which in
+ turn is basically using gcc's -ffast-math. See the gcc manual
+ for what this means.
+
endif