COMP: add -pthread compile/link dependency for std::thread (#614)

This commit is contained in:
Mark Olesen
2020-02-07 11:04:40 +01:00
parent 9da83a3e4f
commit 739bc3c4af
13 changed files with 13 additions and 13 deletions

View File

@ -1,6 +1,6 @@
include $(GENERAL_RULES)/Clang/c++
c++ARCH = -m64 -ftrapping-math
c++ARCH = -m64 -pthread -ftrapping-math
include $(DEFAULT_RULES)/c++$(WM_COMPILE_OPTION)

View File

@ -1,6 +1,6 @@
include $(GENERAL_RULES)/Clang/c++
c++ARCH = -m64
c++ARCH = -m64 -pthread
include $(DEFAULT_RULES)/c++$(WM_COMPILE_OPTION)

View File

@ -2,7 +2,7 @@ include $(GENERAL_RULES)/Gcc/c++
CC = CC -std=c++11
c++ARCH = -m64
c++ARCH = -m64 -pthread
include $(DEFAULT_RULES)/c++$(WM_COMPILE_OPTION)

View File

@ -1,6 +1,6 @@
include $(GENERAL_RULES)/Gcc/c++
c++ARCH = -m64
c++ARCH = -m64 -pthread
include $(DEFAULT_RULES)/c++$(WM_COMPILE_OPTION)

View File

@ -1,6 +1,6 @@
include $(GENERAL_RULES)/Icc/c++
c++ARCH = -fp-trap=common -fp-model precise
c++ARCH = -pthread -fp-trap=common -fp-model precise
include $(DEFAULT_RULES)/c++$(WM_COMPILE_OPTION)

View File

@ -1,6 +1,6 @@
include $(GENERAL_RULES)/Gcc/c++
c++ARCH = -m64
c++ARCH = -m64 -pthread
# With gnu++11 (not c++11) to ensure __STRICT_ANSI__ is not defined
CC = x86_64-w64-mingw32-g++ -std=gnu++11

View File

@ -3,7 +3,7 @@ include $(GENERAL_RULES)/Clang/c++
CC = armclang++ -std=c++11
c++ARCH = -mcpu=native
c++ARCH = -mcpu=native -pthread
include $(DEFAULT_RULES)/c++$(WM_COMPILE_OPTION)

View File

@ -1,6 +1,6 @@
include $(GENERAL_RULES)/Clang/c++
c++ARCH =
c++ARCH = -pthread
include $(DEFAULT_RULES)/c++$(WM_COMPILE_OPTION)

View File

@ -1,6 +1,6 @@
include $(GENERAL_RULES)/Gcc/c++
c++ARCH =
c++ARCH = -pthread
include $(DEFAULT_RULES)/c++$(WM_COMPILE_OPTION)

View File

@ -1,6 +1,6 @@
include $(GENERAL_RULES)/Gcc/c++
c++ARCH = -mcpu=cortex-a9
c++ARCH = -mcpu=cortex-a9 -pthread
include $(DEFAULT_RULES)/c++$(WM_COMPILE_OPTION)

View File

@ -1,6 +1,6 @@
include $(GENERAL_RULES)/Clang/c++
c++ARCH = -m32
c++ARCH = -m32 -pthread
include $(DEFAULT_RULES)/c++$(WM_COMPILE_OPTION)

View File

@ -1,6 +1,6 @@
include $(GENERAL_RULES)/Gcc/c++
c++ARCH = -m32
c++ARCH = -m32 -pthread
include $(DEFAULT_RULES)/c++$(WM_COMPILE_OPTION)

View File

@ -1,6 +1,6 @@
include $(GENERAL_RULES)/Icc/c++
c++ARCH = -fp-trap=common -fp-model precise
c++ARCH = -pthread -fp-trap=common -fp-model precise
include $(DEFAULT_RULES)/c++$(WM_COMPILE_OPTION)