]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libgomp/configure.ac
offload-defaulted: Config option to silently ignore uninstalled offload compilers
[thirdparty/gcc.git] / libgomp / configure.ac
index c23fe004f1d9fcbdf0c2d951d20c8dec5bd43cca..7df80a32765e4d1fec10a0dfbe072b3a7ce4895a 100644 (file)
@@ -221,6 +221,11 @@ if test x$libgomp_offloaded_only = xyes; then
             [Define to 1 if building libgomp for an accelerator-only target.])
 fi
 
+if test "x$enable_offload_defaulted" = xyes; then
+  AC_DEFINE(OFFLOAD_DEFAULTED, 1,
+    [Define to 1 to if -foffload is defaulted])
+fi
+
 AC_CHECK_SIZEOF([void *])
 
 m4_include([plugin/configfrag.ac])