From: Ed Blake Date: Tue, 26 Mar 2019 12:30:45 +0000 (+0000) Subject: package/gcc: select BR2_TOOLCHAIN_HAS_OPENMP if BR2_GCC_ENABLE_OPENMP X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d586541bd85a14229f3ac943974d53571b90a2e2;p=buildroot.git package/gcc: select BR2_TOOLCHAIN_HAS_OPENMP if BR2_GCC_ENABLE_OPENMP BR2_TOOLCHAIN_HAS_OPENMP is also selected by external toolchains, so can be used by packages to determine OpenMP support. Signed-off-by: Ed Blake Signed-off-by: Thomas Petazzoni --- diff --git a/package/gcc/Config.in.host b/package/gcc/Config.in.host index 222251f43c..8e22a4c155 100644 --- a/package/gcc/Config.in.host +++ b/package/gcc/Config.in.host @@ -127,6 +127,7 @@ config BR2_GCC_ENABLE_LTO config BR2_GCC_ENABLE_OPENMP bool "Enable compiler OpenMP support" depends on !BR2_PTHREADS_NONE && !BR2_arc && !BR2_microblaze + select BR2_TOOLCHAIN_HAS_OPENMP help Enable OpenMP support for the compiler