[Scummvm-git-logs] scummvm master -> 76d27c5a3cca7ae18601b0b7d45bff307e720b27
dwatteau
noreply at scummvm.org
Thu Jun 20 21:13:02 UTC 2024
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
76d27c5a3c CONFIGURE: MACOSX: Use -gdwarf-2 instead of -gstabs+ for OSX PPC
Commit: 76d27c5a3cca7ae18601b0b7d45bff307e720b27
https://github.com/scummvm/scummvm/commit/76d27c5a3cca7ae18601b0b7d45bff307e720b27
Author: Donovan Watteau (contrib at dwatteau.fr)
Date: 2024-06-20T23:12:29+02:00
Commit Message:
CONFIGURE: MACOSX: Use -gdwarf-2 instead of -gstabs+ for OSX PPC
Prefer DWARF over stabs on older OSX; this requires a newer GDB, but we
need it for the updated toolchain anyway. This improves the debugging
experience quite a lot, and it still creates meaningful traces for the
Crash Reporter of OSX 10.4.
An updated GDB can be found in the development blog posts of TenFourFox,
or in MacPorts. Setting it up may require some work, but it's worth it.
Changed paths:
configure
diff --git a/configure b/configure
index 4b8ff8fbad9..58db936f07a 100755
--- a/configure
+++ b/configure
@@ -3069,8 +3069,12 @@ EOF
if test "$_macos_min_version" -lt 1060 ; then
add_line_to_config_mk 'MACOSX_LEOPARD_OR_BELOW = 1'
if test "$_debug_build" != no ; then
- # Newer compiler but ancient gdb
- append_var CXXFLAGS "-gstabs+"
+ # Prefer DWARF over stabs on older OSX; this requires a
+ # newer GDB, but we need it for the updated toolchain
+ # anyway. This improves the debugging experience quite
+ # a lot, and it still creates meaningful traces for the
+ # Crash Reporter of OSX 10.4.
+ append_var CXXFLAGS "-gdwarf-2"
fi
fi
More information about the Scummvm-git-logs
mailing list