From 70e2ddbc1b006680e40127ff4a92df7cba17cb3c Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sun, 8 Mar 2020 23:34:20 +0100 Subject: Allow to bundle gdb with optimized windows builds Preferably also configure with "--optimize --debug-symbols" when setting the PACKAGE_GDB environment variable --- tools/x-win/package.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tools/x-win') diff --git a/tools/x-win/package.sh b/tools/x-win/package.sh index dfbea0978a..b2e8190377 100755 --- a/tools/x-win/package.sh +++ b/tools/x-win/package.sh @@ -235,6 +235,9 @@ fi ### http://sourceforge.net/projects/mingw/files/MinGW/Extension/gdb/gdb-7.6.1-1/gdb-7.6.1-1-mingw32-bin.tar.lzma ### http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Personal%20Builds/mingw-builds/4.9.1/threads-win32/sjlj/x86_64-4.9.1-release-win32-sjlj-rt_v3-rev1.7z if ! grep " using ./waf configure" build/config.log | grep -q -- "--optimize"; then + PACKAGE_GDB=1 +fi +if test -n "$PACKAGE_GDB"; then download gdb-static-win3264.tar.xz http://robin.linuxaudio.org/gdb-static-win3264.tar.xz cd ${SRCCACHE} tar xf gdb-static-win3264.tar.xz -- cgit v1.2.3