Skip to content

Commit

Permalink
try manual musl gcc config on debian 2
Browse files Browse the repository at this point in the history
  • Loading branch information
vszakats committed Oct 11, 2023
1 parent fbc7a60 commit 1357293
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions _ci-linux-debian.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,21 +23,22 @@ if [[ "${CW_CONFIG:-}" = *'win'* ]]; then
extra="${extra} nasm"
fi
elif [[ "${CW_CONFIG:-}" = *'linux'* ]]; then
[ -n "${CW_GCCSUFFIX:-}" ] || CW_GCCSUFFIX='-13'
extra="${extra} checksec"
if [[ "${CW_CONFIG:-}" = *'gcc'* ]]; then
extra="${extra} gcc${CW_GCCSUFFIX} g++${CW_GCCSUFFIX}"
export CW_CCSUFFIX="${CW_GCCSUFFIX}"
fi
if [[ "${CW_CONFIG:-}" = *'musl'* ]]; then
extra="${extra} musl musl-dev musl-tools"
[[ "${CW_CONFIG:-}" = *'gcc'* ]] && extra="${extra} g++"
extra="${extra} musl musl-dev"
# for openssl 'secure-memory' feature
if [ "$(uname -m)" = 'aarch64' ]; then
extra="${extra} linux-headers-arm64"
elif [ "$(uname -m)" = 'x86_64' ]; then
extra="${extra} linux-headers-amd64"
fi
else
[ -n "${CW_GCCSUFFIX:-}" ] || CW_GCCSUFFIX='-13'
if [[ "${CW_CONFIG:-}" = *'gcc'* ]]; then
extra="${extra} gcc${CW_GCCSUFFIX} g++${CW_GCCSUFFIX}"
export CW_CCSUFFIX="${CW_GCCSUFFIX}"
if [ "$(uname -m)" = 'aarch64' ]; then
extra="${extra} gcc${CW_GCCSUFFIX}-x86-64-linux-gnu g++${CW_GCCSUFFIX}-x86-64-linux-gnu"
else
Expand Down

0 comments on commit 1357293

Please sign in to comment.