From 9e38af5c5521d07a914a03175bf7b7f5d88d3c89 Mon Sep 17 00:00:00 2001 From: Alexander Monakov Date: Wed, 30 Nov 2016 21:08:30 +0300 Subject: 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 --- libgomp/config.h.in | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libgomp/config.h.in') 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 -- cgit v1.1