diff options
author | Alon Zakai <alonzakai@gmail.com> | 2016-04-18 10:30:38 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2016-04-18 11:19:41 -0700 |
commit | d929ba9756378b4b67a921714f608b505cb6cb99 (patch) | |
tree | fed4f3a1fe1e7e126ed19f0a29b1ed68e85608df | |
parent | 60f1c1516df1218b37f1cd2caba847c48ba93f67 (diff) | |
download | binaryen-d929ba9756378b4b67a921714f608b505cb6cb99.tar.gz binaryen-d929ba9756378b4b67a921714f608b505cb6cb99.tar.bz2 binaryen-d929ba9756378b4b67a921714f608b505cb6cb99.zip |
use -pthread as a compile flag, not link flag
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index f95e8aeca..5440db9ab 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -58,7 +58,7 @@ ELSE() ADD_COMPILE_FLAG("-Wextra") ADD_COMPILE_FLAG("-Wno-unused-parameter") ADD_COMPILE_FLAG("-fno-omit-frame-pointer") - ADD_LINK_FLAG("-pthread") + ADD_COMPILE_FLAG("-pthread") IF(uppercase_CMAKE_BUILD_TYPE STREQUAL "DEBUG") ADD_COMPILE_FLAG("-O0") ADD_COMPILE_FLAG("-g3") |