errs12: asan: no longer default
[nethome.git] / bin / errs12
index 9148109..bfac6f5 100755 (executable)
@@ -19,8 +19,8 @@ if gcc --version|perl -ne 'exit(!(/(\d+)\.(\d+)/&&($1>4||($1==4&&$2>=7))));';the
 else
   debug="-g2"
 fi
-#asan=""
-asan="-fsanitize=address"
+asan=""
+#asan="-fsanitize=address -static-libasan"
 mcheck=""
 #mcheck="-lmcheck"
 fast=false
@@ -75,7 +75,7 @@ do
        fi
 
        if [ "$1" = "--asan" ];then
-               asan="-fsanitize=address"
+               asan="-fsanitize=address -static-libasan"
                shift
                continue
        fi