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
b2748e5d
Unverified
Commit
b2748e5d
authored
Feb 06, 2018
by
xoviat
Committed by
GitHub
Feb 06, 2018
Browse files
Merge pull request #140 from xhochy/strip-linux-binaries
Strip binaries on non-OSX builds
parents
3634d867
453308de
Changes
1
Hide 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 @
b2748e5d
...
@@ -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