mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
try to ensure ABI compatibility with older glibc for shared libraries
This commit is contained in:
parent
c4db04c72b
commit
4bdce53069
1 changed files with 2 additions and 0 deletions
|
@ -98,6 +98,8 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cmake -GNinja .. \
|
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" \
|
||||||
-DPORTABLE=1 \
|
-DPORTABLE=1 \
|
||||||
-DCMAKE_BUILD_TYPE=Release \
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
-DOPENSSL_FOUND=1 \
|
-DOPENSSL_FOUND=1 \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue