Skip to content

Commit 420cb58

Browse files
committed
_build.sh: limit binutils strip use to boringssl/awslc builds [ci skip]
It'd be interesting to re-evaluate if the clang/llvm strip issues are fixed, or binutils strip is still necessary to strip some timestamps and other non-reproducible data from boringssl/awslc objects (nasm, undisablable debug info).
1 parent 82f599a commit 420cb58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1357,7 +1357,7 @@ build_single_target() {
13571357

13581358
# for boringssl/awslc
13591359
export _STRIP_BINUTILS=''
1360-
if [ "${_OS}" = 'win' ] && [ "${_CC}" = 'llvm' ]; then
1360+
if [ "${_OS}" = 'win' ] && [ "${_CC}" = 'llvm' ] && [ "${boringssl}" = '1' ]; then
13611361
if [ "${_CPU}" = 'x64' ] || \
13621362
[ "${_CPU}" = 'x86' ]; then
13631363
# Make sure to pick the prefixed binutils strip tool from an unmodified

0 commit comments

Comments
 (0)