aboutsummaryrefslogtreecommitdiff
path: root/libgomp/config.h.in
diff options
context:
space:
mode:
authorAlexander Monakov <amonakov@ispras.ru>2016-11-30 21:08:30 +0300
committerAlexander Monakov <amonakov@gcc.gnu.org>2016-11-30 21:08:30 +0300
commit9e38af5c5521d07a914a03175bf7b7f5d88d3c89 (patch)
treec5a2737c29a2282ad9665f202a1374c48bced574 /libgomp/config.h.in
parentf96b7f1f47e7dccf7f1da0cab913efb3fe855db8 (diff)
downloadgcc-9e38af5c5521d07a914a03175bf7b7f5d88d3c89.zip
gcc-9e38af5c5521d07a914a03175bf7b7f5d88d3c89.tar.gz
gcc-9e38af5c5521d07a914a03175bf7b7f5d88d3c89.tar.bz2
libgomp: introduce LIBGOMP_OFFLOADED_ONLY macro
* configure.ac [nvptx*-*-*] (libgomp_offloaded_only): Set and use it... (LIBGOMP_OFFLOADED_ONLY): ...here; new define. * configure: Regenerate. * config.h.in: Likewise. From-SVN: r243040
Diffstat (limited to 'libgomp/config.h.in')
-rw-r--r--libgomp/config.h.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/libgomp/config.h.in b/libgomp/config.h.in
index b54dd87..583b9b4 100644
--- a/libgomp/config.h.in
+++ b/libgomp/config.h.in
@@ -115,6 +115,9 @@
/* Define to 1 if GNU symbol versioning is used for libgomp. */
#undef LIBGOMP_GNU_SYMBOL_VERSIONING
+/* Define to 1 if building libgomp for an accelerator-only target. */
+#undef LIBGOMP_OFFLOADED_ONLY
+
/* Define to 1 if libgomp should use POSIX threads. */
#undef LIBGOMP_USE_PTHREADS