mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
shared lib without libc but with D_GLIBCXX_USE_CXX11_ABI and -static-libgcc -static-libstdc++
This commit is contained in:
parent
4bdce53069
commit
85207cf258
1 changed files with 2 additions and 2 deletions
|
@ -98,8 +98,8 @@ else
|
|||
fi
|
||||
|
||||
cmake -GNinja .. \
|
||||
-DCMAKE_CXX_FLAGS="-stdlib=libc++ -I/usr/lib/llvm-16/include/c++/v1 -D_GLIBCXX_USE_CXX11_ABI=0" \
|
||||
-DCMAKE_EXE_LINKER_FLAGS="-stdlib=libc++ -static-libgcc -static-libstdc++ /usr/lib/llvm-16/lib/libc++abi.a -I/usr/lib/llvm-16/include/c++/v1" \
|
||||
-DCMAKE_CXX_FLAGS="-D_GLIBCXX_USE_CXX11_ABI=0" \
|
||||
-DCMAKE_EXE_LINKER_FLAGS="-static-libgcc -static-libstdc++" \
|
||||
-DPORTABLE=1 \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DOPENSSL_FOUND=1 \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue