Skip to content

Commit

Permalink
curl aws-lc detection windows blind try 1
Browse files Browse the repository at this point in the history
  • Loading branch information
vszakats committed Nov 7, 2024
1 parent ddff9d4 commit 8a40bd2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions _build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1044,8 +1044,10 @@ build_single_target() {
_LDFLAGS_GLOBAL+=' -Wl,--gc-sections'
fi

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

_CCRT='libgcc' # compiler runtime, 'libgcc' (for libgcc and libstdc++) or 'clang-rt' (for compiler-rt and libc++)
Expand Down

0 comments on commit 8a40bd2

Please sign in to comment.