summaryrefslogtreecommitdiffstats
path: root/toolchain/gcc/Config.in
diff options
context:
space:
mode:
authorGustavo Zacarias2011-05-02 20:16:41 +0200
committerPeter Korsgaard2011-05-02 21:15:50 +0200
commit0073143087989caf4e4406a9ee3c80097684c9f3 (patch)
treefed2d091fafe3f5ad917003138c8b2557e7ed8f2 /toolchain/gcc/Config.in
parenttoolchain: bump gcc 4.5 series to verion 4.5.3 (diff)
downloadbuildroot-0073143087989caf4e4406a9ee3c80097684c9f3.tar.gz
buildroot-0073143087989caf4e4406a9ee3c80097684c9f3.tar.xz
buildroot-0073143087989caf4e4406a9ee3c80097684c9f3.zip
toolchain/gcc: add openmp support option
Add OpenMP support in gcc as an option instead of dynamically enabling it when threads are present. Also fix it up since we never installed libgomp to the target or staging thus it was never really functional. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'toolchain/gcc/Config.in')
-rw-r--r--toolchain/gcc/Config.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/toolchain/gcc/Config.in b/toolchain/gcc/Config.in
index fcdcc198c..437b86bb7 100644
--- a/toolchain/gcc/Config.in
+++ b/toolchain/gcc/Config.in
@@ -109,3 +109,9 @@ config BR2_GCC_ENABLE_TLS
help
Enable the compiler to generate code for accessing
thread local storage variables
+
+config BR2_GCC_ENABLE_OPENMP
+ bool "Enable compiler OpenMP support"
+ depends on !BR2_PTHREADS_NONE && !BR2_avr32
+ help
+ Enable OpenMP support for the compiler