diff options
author | Robin Gareus <robin@gareus.org> | 2020-03-08 23:34:20 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2020-03-08 23:34:20 +0100 |
commit | 70e2ddbc1b006680e40127ff4a92df7cba17cb3c (patch) | |
tree | a42401499491433313539878e23ef3a6a1bb4add /tools | |
parent | 7696380cfd9e1a349651f2de8055e71244d6f8b3 (diff) |
Allow to bundle gdb with optimized windows builds
Preferably also configure with "--optimize --debug-symbols"
when setting the PACKAGE_GDB environment variable
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/x-win/package.sh | 3 |
1 files changed, 3 insertions, 0 deletions
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 |