From bd9dad7371f88dcebab53fd871f9ecf5397fc033 Mon Sep 17 00:00:00 2001 From: "Lubomir I. Ivanov" Date: Tue, 14 Nov 2017 16:13:42 +0200 Subject: 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 --- packaging/windows/mxe-based-build.sh | 7 ------- 1 file changed, 7 deletions(-) (limited to 'packaging/windows') 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 -- cgit v1.2.3-70-g09d2