Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
fengzch-das
multibuild
Commits
453308de
Commit
453308de
authored
Feb 04, 2018
by
Uwe L. Korn
Browse files
Strip binaries on non-OSX builds
parent
3634d867
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
configure_build.sh
configure_build.sh
+7
-0
No files found.
configure_build.sh
View file @
453308de
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment