summaryrefslogtreecommitdiff
path: root/BUILD
diff options
context:
space:
mode:
authorMonty <monty@mariadb.org>2020-08-20 17:28:12 +0300
committerMonty <monty@mariadb.org>2020-08-20 19:34:11 +0300
commit76a922700184f9aef021719f3f5b165a60a1ed50 (patch)
tree9cff8d058a08e188e54bda5e9111717004552a0d /BUILD
parent65c43bcfe276dba545b1985443322fbb07c1a49a (diff)
downloadmariadb-git-76a922700184f9aef021719f3f5b165a60a1ed50.tar.gz
Added support of WITH_GPROF to cmake
Diffstat (limited to 'BUILD')
-rwxr-xr-xBUILD/SETUP.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/BUILD/SETUP.sh b/BUILD/SETUP.sh
index 82262098d7a..d9d8b977644 100755
--- a/BUILD/SETUP.sh
+++ b/BUILD/SETUP.sh
@@ -315,10 +315,11 @@ gcov_configs="--with-gcov"
# gprof
-gprof_compile_flags="-O2 -pg -g"
+gprof_compile_flags="-O2"
+# Rest of the flags are set in CmakeFile.txt
gprof_link_flags="--disable-shared $static_link"
-disable_gprof_plugins="--with-zlib-dir=bundled --without-plugin-oqgraph --without-plugin-mroonga"
+disable_gprof_plugins="--with-zlib-dir=bundled --without-plugin-oqgraph --without-plugin-mroonga --with-gprof"
disable_asan_plugins="--without-plugin-rocksdb"