From ffd432add542852a4e3bae3ae477369fed4e0147 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 7 Jun 2015 20:35:27 +0300 Subject: Add configure option for enable gcc check plugin. New configure option: --enable-checkplugin --- src/Makefile.am | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') 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 -- cgit v1.2.3-70-g09d2