Skip to content

Commit 9549caa

Browse files
committed
_build.sh: disable --icf=all for AWS-LC to avoid linker fixup
1 parent 4be4ddc commit 9549caa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

_build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1049,8 +1049,8 @@ build_single_target() {
10491049
_LDFLAGS_GLOBAL+=' -Wl,--gc-sections'
10501050
fi
10511051

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

0 commit comments

Comments
 (0)