Skip to content

Commit

Permalink
shared lib without libc but with D_GLIBCXX_USE_CXX11_ABI and -static-…
Browse files Browse the repository at this point in the history
…libgcc -static-libstdc++
  • Loading branch information
neodix42 committed Dec 27, 2024
1 parent 4bdce53 commit 85207cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions assembly/native/build-ubuntu-portable-libs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 85207cf

Please sign in to comment.