Pārlūkot izejas kodu

- add OPENMP configure handling (needed for e.g. gettext).

Bernhard Reutner-Fischer 18 gadi atpakaļ
vecāks
revīzija
c81807a9d7
1 mainītis faili ar 7 papildinājumiem un 0 dzēšanām
  1. 7 0
      toolchain/Makefile.in

+ 7 - 0
toolchain/Makefile.in

@@ -10,6 +10,13 @@ else
 MULTILIB:=--disable-multilib
 endif
 
+ifeq ($(BR2_ENABLE_OPENMP),y)
+OPENMP:=--enable-openmp
+else
+OPENMP:=--disable-openmp
+endif
+
+
 ifeq ($(BR2_TOOLCHAIN_SYSROOT),y)
 BR2_SYSROOT_PREFIX=# nothing, straight into /usr
 BR2_SYSROOT_STAGING_DESTDIR=DESTDIR=$(STAGING_DIR)/