Created
February 25, 2020 07:33
-
-
Save non-static/f3aa8b2e37c5653652b0c9acd266c42d to your computer and use it in GitHub Desktop.
Split binary and symbol for release build
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
objcopy --only-keep-debug "${tostripfile}" "${debugdir}/${debugfile}" | |
strip --strip-debug --strip-unneeded "${tostripfile}" | |
objcopy --add-gnu-debuglink="${debugdir}/${debugfile}" "${tostripfile}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment