Skip to content

Commit

Permalink
add -fvisibility=hidden flags
Browse files Browse the repository at this point in the history
  • Loading branch information
lkeegan committed Apr 23, 2024
1 parent 6a48101 commit 2bf8e82
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,10 @@ cd ..
mkdir build
cd build
cmake ../qt5/qtbase -G "Ninja" \
-DBUILD_SHARED_LIBS=OFF \
-DCMAKE_BUILD_TYPE=Release \
-DBUILD_SHARED_LIBS=OFF \
-DCMAKE_C_FLAGS="-fpic -fvisibility=hidden" \
-DCMAKE_CXX_FLAGS="-fpic -fvisibility=hidden" \
-DCMAKE_INSTALL_PREFIX=${INSTALL_PREFIX} \
-DCMAKE_MESSAGE_LOG_LEVEL=STATUS \
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache \
Expand Down

0 comments on commit 2bf8e82

Please sign in to comment.