Skip to content
This repository was archived by the owner on Aug 30, 2024. It is now read-only.

Commit fe8126d

Browse files
committed
Fix stripping binaries from debugging symbols
1 parent 1c7c0dd commit fe8126d

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

env_vars.sh

+6
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,9 @@ OPENBLAS_VERSION="v0.3.7"
33
MACOSX_DEPLOYMENT_TARGET=10.9
44
CFLAGS="-std=c99 -fno-strict-aliasing"
55
LDFLAGS="-Wl,--strip-debug"
6+
# make sure that LDFLAGS is exposed to child processes,
7+
# since current version of manybuild only export CFLAGS, CPPFLAGS and FFLAGS
8+
export LDFLAGS="$LDFLAGS"
9+
# override the default stripping flags, since we only override CFLAGS and
10+
# the current version of manybuild pass "-strip-all" to CPPFLAGS and FFLAGS
11+
STRIP_FLAGS=""

env_vars_32.sh

+6
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,9 @@ MACOSX_DEPLOYMENT_TARGET=10.9
88
# CFLAGS="-msse2 -std=c99 -fno-strict-aliasing"
99
CFLAGS="-std=c99 -fno-strict-aliasing"
1010
LDFLAGS="-Wl,--strip-debug"
11+
# make sure that LDFLAGS is exposed to child processes,
12+
# since current version of manybuild only export CFLAGS, CPPFLAGS and FFLAGS
13+
export LDFLAGS="$LDFLAGS"
14+
# override the default stripping flags, since we only override CFLAGS and
15+
# the current version of manybuild pass "-strip-all" to CPPFLAGS and FFLAGS
16+
STRIP_FLAGS=""

0 commit comments

Comments
 (0)