File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -18,10 +18,11 @@ build:
1818 - CFLAGS
1919 - CXXFLAGS
2020 script : |
21- export CFLAGS="-D_GNU_SOURCE -I${PREFIX}/include $CFLAGS"
22- export CXXFLAGS="-D_GNU_SOURCE -I${PREFIX}/include $CXXFLAGS"
21+ export CFLAGS="-pthread -D_GNU_SOURCE -I${PREFIX}/include $CFLAGS"
22+ export CXXFLAGS="-pthread -D_GNU_SOURCE -I${PREFIX}/include $CXXFLAGS"
23+ export LDFLAGS="-pthread ${LDFLAGS}"
2324
24- cmake -S cpp/all -B build -DCMAKE_INSTALL_PREFIX=$PREFIX -DCMAKE_BUILD_TYPE=Release
25+ cmake -S cpp/all -B build -DCMAKE_INSTALL_PREFIX=$PREFIX -DCMAKE_BUILD_TYPE=Release -DCMAKE_EXE_LINKER_FLAGS="$LDFLAGS"
2526 cmake --build build --parallel ${CPU_COUNT:-1}
2627 (cd build/test && ctest --output-on-failure)
2728 cmake --install build/standalone
You can’t perform that action at this time.
0 commit comments