Skip to content

Commit

Permalink
_build.sh: disable --icf=all for AWS-LC to avoid linker fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
vszakats committed Nov 15, 2024
1 parent 4be4ddc commit 9549caa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1049,8 +1049,8 @@ build_single_target() {
_LDFLAGS_GLOBAL+=' -Wl,--gc-sections'
fi

if [ "${_OPENSSL}" != 'awslc' ] && [ "${_OS}" = 'win' ]; then
if [ "${_CC}" = 'llvm' ] && [ "${_TOOLCHAIN}" != 'llvm-apple' ]; then
if [ "${_CC}" = 'llvm' ] && [ "${_TOOLCHAIN}" != 'llvm-apple' ]; then
if [ "${_OPENSSL}" != 'awslc' ] || [ "${_OS}" != 'win' ]; then
_LDFLAGS_GLOBAL+=' -Wl,--icf=all'
fi
fi
Expand Down

0 comments on commit 9549caa

Please sign in to comment.