Skip to content

Commit

Permalink
add -fPIC -fcommon
Browse files Browse the repository at this point in the history
  • Loading branch information
neodix42 committed Dec 28, 2024
1 parent 85207cf commit 12684c4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions assembly/native/build-ubuntu-portable-libs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,7 @@ else
fi

cmake -GNinja .. \
-DCMAKE_CXX_FLAGS="-D_GLIBCXX_USE_CXX11_ABI=0" \
-DCMAKE_EXE_LINKER_FLAGS="-static-libgcc -static-libstdc++" \
-DCMAKE_EXE_LINKER_FLAGS="-static-libgcc -static-libstdc++ -fPIC -fcommon" \
-DPORTABLE=1 \
-DCMAKE_BUILD_TYPE=Release \
-DOPENSSL_FOUND=1 \
Expand Down

0 comments on commit 12684c4

Please sign in to comment.