diff options
Diffstat (limited to 'libgomp/configure')
-rwxr-xr-x | libgomp/configure | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libgomp/configure b/libgomp/configure index d369320..a61f135 100755 --- a/libgomp/configure +++ b/libgomp/configure @@ -15070,6 +15070,7 @@ case "$host" in ;; nvptx*-*-*) # NVPTX does not support Pthreads, has its own code replacement. + libgomp_use_pthreads=no ;; *) # Check to see if -pthread or -lpthread is needed. Prefer the former. @@ -15115,6 +15116,12 @@ rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext esac +if test x$libgomp_use_pthreads != xno; then + +$as_echo "#define LIBGOMP_USE_PTHREADS 1" >>confdefs.h + +fi + # Plugins for offload execution, configure.ac fragment. -*- mode: autoconf -*- # # Copyright (C) 2014-2016 Free Software Foundation, Inc. |