Commit 453308de authored by Uwe L. Korn's avatar Uwe L. Korn
Browse files

Strip binaries on non-OSX builds

parent 3634d867
...@@ -25,6 +25,13 @@ if [ -n "$IS_OSX" ]; then ...@@ -25,6 +25,13 @@ if [ -n "$IS_OSX" ]; then
# Disable homebrew auto-update # Disable homebrew auto-update
export HOMEBREW_NO_AUTO_UPDATE=1 export HOMEBREW_NO_AUTO_UPDATE=1
else
# Strip all binaries after compilation.
STRIP_FLAGS=${STRIP_FLAGS:-"-Wl,-strip-all"}
export CFLAGS="${CFLAGS:-$STRIP_FLAGS}"
export CXXFLAGS="${CXXFLAGS:-$STRIP_FLAGS}"
export FFLAGS="${FFLAGS:-$STRIP_FLAGS}"
fi fi
# Promote BUILD_PREFIX on search path to any newly built libs # Promote BUILD_PREFIX on search path to any newly built libs
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment