diff options
author | Bryan Hundven <bryanhundven@gmail.com> | 2015-11-29 17:40:08 -0800 |
---|---|---|
committer | Bryan Hundven <bryanhundven@gmail.com> | 2015-11-29 17:40:08 -0800 |
commit | cfd2a6b69c4945808ae153552e6978afb1273ef7 (patch) | |
tree | 03b8717f9df21a22affac332ae8ee1ec91e0c0d0 /config/cc | |
parent | 8b40ab0d6eb2b0bd4e9c0f168e77b555caa78703 (diff) | |
download | crosstool-ng-cfd2a6b69c4945808ae153552e6978afb1273ef7.tar.gz crosstool-ng-cfd2a6b69c4945808ae153552e6978afb1273ef7.tar.bz2 crosstool-ng-cfd2a6b69c4945808ae153552e6978afb1273ef7.zip |
gcc: Gnu OpenMP support depends on threading
Instead of checking if thread support is enabled during the build, move
the check to kconfig-time. Since if threading support is not availble,
libgomp should not be available either.
Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
Diffstat (limited to 'config/cc')
-rw-r--r-- | config/cc/gcc.in.2 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/config/cc/gcc.in.2 b/config/cc/gcc.in.2 index 0ad40dfb..b3bfecc7 100644 --- a/config/cc/gcc.in.2 +++ b/config/cc/gcc.in.2 @@ -137,12 +137,15 @@ config CC_GCC_LIBMUDFLAP config CC_GCC_LIBGOMP bool prompt "Compile libgomp" + depends on !THREADS_NONE help libgomp is "the GNU implementation of the OpenMP Application Programming Interface (API) for multi-platform shared-memory parallel programming in C/C++ and Fortran". See: http://gcc.gnu.org/onlinedocs/libgomp/ + GNU OpenMP support requires threading. + The default is 'N'. Say 'Y' if you need it, and report success/failure. config CC_GCC_LIBSSP |