summaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-02-21 16:33:21 +0300
committerAndrei Karas <akaras@inbox.ru>2015-02-21 16:33:31 +0300
commit875a09d8a893fd17c43d85e9a318ff0d4d359e6f (patch)
treecc1f62f8b786c98f56d51b5c756e9e4ca125e4d0 /src/Makefile.am
parent8e50387632bd4bbab6f1a85b94afa24340a3ce19 (diff)
downloadplugin-875a09d8a893fd17c43d85e9a318ff0d4d359e6f.tar.gz
plugin-875a09d8a893fd17c43d85e9a318ff0d4d359e6f.tar.bz2
plugin-875a09d8a893fd17c43d85e9a318ff0d4d359e6f.tar.xz
plugin-875a09d8a893fd17c43d85e9a318ff0d4d359e6f.zip
Add gprof build flag.
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 61dc883..4fcbfc1 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -87,6 +87,10 @@ if ENABLE_STATIC
SHARED_CFLAGS += "-static-libgcc"
endif
+if ENABLE_GPROF
+SHARED_CFLAGS += "-pg"
+endif
+
lib_LTLIBRARIES = libevol_char.la libevol_login.la libevol_map.la
libevol_char_la_SOURCES = ${CHAR_SRC}
libevol_char_la_LDFLAGS = ${SHARED_LDFLAGS}