瀏覽代碼

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

Bernhard Reutner-Fischer 18 年之前
父節點
當前提交
c81807a9d7
共有 1 個文件被更改,包括 7 次插入0 次删除
  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)/