summaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-06-07 20:35:27 +0300
committerAndrei Karas <akaras@inbox.ru>2015-06-07 20:35:27 +0300
commitffd432add542852a4e3bae3ae477369fed4e0147 (patch)
treedb963887019c3a46b85243ba07f1d13e8ece2c20 /src/Makefile.am
parentea5da3bc3337b3125b780f7c24adbc1a73b5765b (diff)
downloadManaVerse-ffd432add542852a4e3bae3ae477369fed4e0147.tar.gz
ManaVerse-ffd432add542852a4e3bae3ae477369fed4e0147.tar.bz2
ManaVerse-ffd432add542852a4e3bae3ae477369fed4e0147.tar.xz
ManaVerse-ffd432add542852a4e3bae3ae477369fed4e0147.zip
Add configure option for enable gcc check plugin.
New configure option: --enable-checkplugin
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index d5052ae55..896acfece 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -13,6 +13,10 @@ if ENABLE_PORTABLE
manaplus_CXXFLAGS += -DENABLE_PORTABLE
endif
+if ENABLE_CHECKPLUGIN
+manaplus_CXXFLAGS += -fplugin=../build/checkplugin.so -fplugin-arg-checkplugin-command=parse
+endif
+
if USE_OPENGL
manaplus_CXXFLAGS += -DUSE_OPENGL
endif