From: Yuxuan Shui <yshui@codeweavers.com> --- configure | 9 +++++++++ configure.ac | 2 ++ 2 files changed, 11 insertions(+) diff --git a/configure b/configure index 21afe885c1b..d29c26fa10d 100755 --- a/configure +++ b/configure @@ -920,6 +920,7 @@ enable_win16 enable_win64 enable_tests enable_build_id +enable_split_debug enable_maintainer_mode enable_sast enable_silent_rules @@ -2539,6 +2540,7 @@ Optional Features: binaries) --disable-tests do not build the regression tests --enable-build-id include .buildid section in output objects + --enable-split-debug enable split debug info --enable-maintainer-mode enable maintainer-specific build rules --enable-sast enable static application security testing using @@ -4285,6 +4287,12 @@ then : enableval=$enable_build_id; fi +# Check whether --enable-split-debug was given. +if test ${enable_split_debug+y} +then : + enableval=$enable_split_debug; +fi + # Check whether --enable-maintainer-mode was given. if test ${enable_maintainer_mode+y} then : @@ -9493,6 +9501,7 @@ fi } ;; esac done fi + test "x$enable_split_debug" != xyes || as_fn_append wine_crossdebug " split" eval "${wine_arch}_DEBUG=\$wine_crossdebug" test "x$enable_werror" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror" | sed "$as_sed_sh"` diff --git a/configure.ac b/configure.ac index 1d3165dff84..2432153f8f7 100644 --- a/configure.ac +++ b/configure.ac @@ -21,6 +21,7 @@ AC_ARG_ENABLE(win16, AS_HELP_STRING([--disable-win16],[do not include Win16 supp AC_ARG_ENABLE(win64, AS_HELP_STRING([--enable-win64],[build a Win64 emulator on AMD64 (won't run Win32 binaries)])) AC_ARG_ENABLE(tests, AS_HELP_STRING([--disable-tests],[do not build the regression tests])) AC_ARG_ENABLE(build-id, AS_HELP_STRING([--enable-build-id],[include .buildid section in output objects])) +AC_ARG_ENABLE(split-debug, AS_HELP_STRING([--enable-split-debug],[enable split debug info])) AC_ARG_ENABLE(maintainer-mode, AS_HELP_STRING([--enable-maintainer-mode],[enable maintainer-specific build rules])) AC_ARG_ENABLE(sast, AS_HELP_STRING([--enable-sast],[enable static application security testing using Clang])) AC_ARG_ENABLE(silent-rules, AS_HELP_STRING([--enable-silent-rules],[use silent build rules (override: "make V=1")])) @@ -626,6 +627,7 @@ This is an error since --enable-archs=$wine_arch was requested.])]) esac done fi + test "x$enable_split_debug" != xyes || AS_VAR_APPEND(wine_crossdebug, " split") AS_VAR_SET([${wine_arch}_DEBUG],[$wine_crossdebug]) test "x$enable_werror" != xyes || WINE_TRY_PE_CFLAGS([-Werror]) -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/9567