summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-05-02 20:05:58 +0300
committerAndrei Karas <akaras@inbox.ru>2016-05-02 20:05:58 +0300
commit780c832477373bb86dc86900d820b7625455929a (patch)
tree0a40c088a1fbfb339b50124870b5c333435e9eae /build.sh
parenta0a3f089429d10105c0b29122adacd29674ffba4 (diff)
downloadplugin-780c832477373bb86dc86900d820b7625455929a.tar.gz
plugin-780c832477373bb86dc86900d820b7625455929a.tar.bz2
plugin-780c832477373bb86dc86900d820b7625455929a.tar.xz
plugin-780c832477373bb86dc86900d820b7625455929a.zip
Add support for building plugin with lto.
Use lto by default.
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.sh b/build.sh
index 3c05c38..1affb18 100755
--- a/build.sh
+++ b/build.sh
@@ -13,7 +13,7 @@ autoreconf -i
cd build
if [[ "${CMD}" == "default" ]]; then
export CC=gcc
- ../configure --enable-sanitize
+ ../configure --enable-sanitize --enable-lto
elif [[ "${CMD}" == "old" ]]; then
../configure
elif [[ "${CMD}" == "gprof" ]]; then