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 diff --git a/scripts/build/cc/100-gcc.sh b/scripts/build/cc/100-gcc.sh index d943ebc2..359bb157 100644 --- a/scripts/build/cc/100-gcc.sh +++ b/scripts/build/cc/100-gcc.sh @@ -816,7 +816,6 @@ do_gcc_backend() { if [ "${CT_THREADS}" = "none" ]; then extra_config+=("--disable-threads") - extra_config+=("--disable-libgomp") else if [ "${CT_THREADS}" = "win32" ]; then extra_config+=("--enable-threads=win32")