CI:mac: Use -dead_strip in dependency builds

This commit is contained in:
TellowKrinkle 2024-04-14 19:15:34 -05:00 committed by Connor McLaughlin
parent 63e6248fd3
commit 0ccf8a7775
1 changed files with 1 additions and 0 deletions

View File

@ -46,6 +46,7 @@ export CFLAGS="-I$INSTALLDIR/include $CFLAGS"
export CXXFLAGS="-I$INSTALLDIR/include $CXXFLAGS"
CMAKE_COMMON=(
-DCMAKE_BUILD_TYPE=Release
-DCMAKE_SHARED_LINKER_FLAGS="-dead_strip -dead_strip_dylibs"
-DCMAKE_PREFIX_PATH="$INSTALLDIR"
-DCMAKE_INSTALL_PREFIX="$INSTALLDIR"
-DCMAKE_OSX_ARCHITECTURES="x86_64"