package/gcc: select BR2_TOOLCHAIN_HAS_OPENMP if BR2_GCC_ENABLE_OPENMP
authorEd Blake <ed.blake@sondrel.com>
Tue, 26 Mar 2019 12:30:45 +0000 (12:30 +0000)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Tue, 26 Mar 2019 19:17:42 +0000 (20:17 +0100)
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 <ed.blake@sondrel.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/gcc/Config.in.host

index 222251f43c3c17b4c10b1f4fd4a8f745a4f13318..8e22a4c1554cfdedd0d3d011c7b30b63617b0f07 100644 (file)
@@ -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