[Scummvm-git-logs] scummvm master -> 4472ea46c31e7c9f4aa95320827908bbea9a43e7

bgK bastien.bouclet at gmail.com
Tue Jan 21 06:51:54 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:
4472ea46c3 BUIL: Do not check for Clang when enabling ASan


Commit: 4472ea46c31e7c9f4aa95320827908bbea9a43e7
    https://github.com/scummvm/scummvm/commit/4472ea46c31e7c9f4aa95320827908bbea9a43e7
Author: Bastien Bouclet (bastien.bouclet at gmail.com)
Date: 2020-01-21T07:51:00+01:00

Commit Message:
BUIL: Do not check for Clang when enabling ASan

ASan is available on GCC as well.

Changed paths:
    configure


diff --git a/configure b/configure
index 2bd2c13..969fb6f 100755
--- a/configure
+++ b/configure
@@ -5621,12 +5621,8 @@ fi
 echo_n "Enabling Address Sanitizer... "
 
 if test "$_enable_asan" = yes ; then
-	if test "$have_clang" = yes ; then
-		append_var CXXFLAGS "-fsanitize=address -fno-omit-frame-pointer"
-		append_var LDFLAGS "-fsanitize=address -fno-omit-frame-pointer"
-	else
-		_enable_asan="disabled, clang-only"
-	fi
+	append_var CXXFLAGS "-fsanitize=address -fno-omit-frame-pointer"
+	append_var LDFLAGS "-fsanitize=address -fno-omit-frame-pointer"
 fi
 echo "$_enable_asan"
 




More information about the Scummvm-git-logs mailing list