We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3634d86 + 453308d commit b2748e5Copy full SHA for b2748e5
configure_build.sh
@@ -25,6 +25,13 @@ if [ -n "$IS_OSX" ]; then
25
26
# Disable homebrew auto-update
27
export HOMEBREW_NO_AUTO_UPDATE=1
28
+else
29
+ # Strip all binaries after compilation.
30
+ STRIP_FLAGS=${STRIP_FLAGS:-"-Wl,-strip-all"}
31
+
32
+ export CFLAGS="${CFLAGS:-$STRIP_FLAGS}"
33
+ export CXXFLAGS="${CXXFLAGS:-$STRIP_FLAGS}"
34
+ export FFLAGS="${FFLAGS:-$STRIP_FLAGS}"
35
fi
36
37
# Promote BUILD_PREFIX on search path to any newly built libs
0 commit comments