From d586541bd85a14229f3ac943974d53571b90a2e2 Mon Sep 17 00:00:00 2001 From: Ed Blake Date: Tue, 26 Mar 2019 12:30:45 +0000 Subject: [PATCH] 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 --- package/gcc/Config.in.host | 1 + 1 file changed, 1 insertion(+) 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 -- 2.30.2