allow sanitize address option. memcheck
authorJan Čermák <me@johniez.cz>
Sun, 13 Mar 2016 16:51:24 +0000 (17:51 +0100)
committerJan Čermák <me@johniez.cz>
Sun, 13 Mar 2016 16:51:24 +0000 (17:51 +0100)
aspt.pro

index 102ebe7..1475f23 100755 (executable)
--- a/aspt.pro
+++ b/aspt.pro
@@ -1,4 +1,6 @@
 CONFIG += qt release
+QMAKE_CXXFLAGS += -fsanitize=address
+QMAKE_LFLAGS += -lasan
 SOURCES += main.cc mainwindow.cc configtab.cc playertab.cc playerdetail.cc staffmember.cc stafftab.cc stadiumtab.cc clubtab.cc loadtab.cc proxyset.cc abouttab.cc performance.cc
 HEADERS += mainwindow.h configtab.h playertab.h playerdetail.h staffmember.h stafftab.h stadiumtab.h clubtab.h loadtab.h proxyset.h abouttab.h performance.h
 QT += xml network