Skip to content

Commit 59e7470

Browse files
committed
windows: fix threads
1 parent 358a8c2 commit 59e7470

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -571,9 +571,9 @@ if(CMAKE_TOOLCHAIN_FILE)
571571
--with-isl=${toolchain_build_depends_dir}
572572
--with-libelf=${toolchain_build_depends_dir}
573573
${common_gcc_configure_args}
574-
--disable-threads
574+
--enable-threads=posix
575575
--with-headers=yes
576-
--disable-libgomp
576+
--enable-libgomp
577577
"CFLAGS=${GCC_CFLAGS}"
578578
"CXXFLAGS=${GCC_CFLAGS}"
579579
BUILD_COMMAND ${toolchain_tools} ${wrapper_command} $(MAKE) INHIBIT_LIBC_CFLAGS="-DUSE_TM_CLONE_REGISTRY=0"

0 commit comments

Comments
 (0)