diff options
author | Lubomir I. Ivanov <neolit123@gmail.com> | 2017-11-14 16:13:42 +0200 |
---|---|---|
committer | Lubomir I. Ivanov <neolit123@gmail.com> | 2017-11-15 12:28:51 +0100 |
commit | bd9dad7371f88dcebab53fd871f9ecf5397fc033 (patch) | |
tree | 7b37ffe5a4d906bf13f8c6eb2de71d5962db0a89 /packaging/windows | |
parent | f02388d6b795509fd6e94b0aa0348bfcf0a5af71 (diff) | |
download | subsurface-bd9dad7371f88dcebab53fd871f9ecf5397fc033.tar.gz |
MXE: move the objcopy calls to cmakelists.txt
The objcopy calls to strip the debug symbols out of
subsurface.exe need to happen before the installer is
created (staged).
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Diffstat (limited to 'packaging/windows')
-rwxr-xr-x | packaging/windows/mxe-based-build.sh | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/packaging/windows/mxe-based-build.sh b/packaging/windows/mxe-based-build.sh index ae51109ce..3c6c7fa34 100755 --- a/packaging/windows/mxe-based-build.sh +++ b/packaging/windows/mxe-based-build.sh @@ -281,10 +281,3 @@ i686-w64-mingw32.shared-cmake \ "$BASEDIR"/subsurface make $JOBS "$@" - -OBJCOPY="i686-w64-mingw32.shared-objcopy" -if [[ "$RELEASE_MAIN" == "RelWithDebInfo" ]] ; then - $OBJCOPY --only-keep-debug subsurface.exe subsurface.exe.debug - $OBJCOPY --strip-debug --strip-unneeded subsurface.exe - $OBJCOPY --add-gnu-debuglink=subsurface.exe.debug subsurface.exe -fi |