[Scummvm-git-logs] scummvm master -> 6f1a119263e78cf57bfd4e07d6f8752ff4884c28

criezy criezy at scummvm.org
Sat Oct 3 10:42:34 UTC 2020


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:
6f1a119263 BUILD: Disable debug build by default for release builds


Commit: 6f1a119263e78cf57bfd4e07d6f8752ff4884c28
    https://github.com/scummvm/scummvm/commit/6f1a119263e78cf57bfd4e07d6f8752ff4884c28
Author: Thierry Crozat (criezy at scummvm.org)
Date: 2020-10-03T11:40:50+01:00

Commit Message:
BUILD: Disable debug build by default for release builds

It is still possible to make a release build with debug symbols by
explicitly requesting it with configure --enable-release --enable-debug

Changed paths:
    configure


diff --git a/configure b/configure
index d088917c44..ac158ae50f 100755
--- a/configure
+++ b/configure
@@ -2296,6 +2296,9 @@ echo $_use_cxx11
 #
 # Determine extra build flags for debug and/or release builds
 #
+if test "$_debug_build" = auto && test "$_release_build" = yes; then
+	_debug_build=no
+fi
 if test "$_debug_build" != no; then
 	# debug mode not explicitly disabled -> compile with debug information
 	echo_n "Checking best debug mode... "




More information about the Scummvm-git-logs mailing list