X-Git-Url: https://arthur.barton.de/gitweb/?a=blobdiff_plain;f=netdata-installer.sh;h=c49ef32ceb2d14dbc2f4b486351e4db00b7c871c;hb=68c6d537788b9c11670903bce2e9806933a3322a;hp=ee2aded15f327ee36f0d1de1da5867f9d31f2927;hpb=4d0af341e3c40993ba427fe4e306f09cc6866577;p=netdata.git diff --git a/netdata-installer.sh b/netdata-installer.sh index ee2aded1..c49ef32c 100755 --- a/netdata-installer.sh +++ b/netdata-installer.sh @@ -104,6 +104,12 @@ Valid are: Enable/disable the FreeIPMI plugin. Default: enable it when libipmimonitoring is available. + --enable-lto + --disable-lto + + Enable/disable Link-Time-Optimization + Default: enabled + --zlib-is-really-here --libs-are-really-here @@ -199,6 +205,14 @@ do then NETDATA_CONFIGURE_OPTIONS="${NETDATA_CONFIGURE_OPTIONS} --disable-plugin-freeipmi" shift 1 + elif [ "$1" = "--enable-lto" ] + then + NETDATA_CONFIGURE_OPTIONS="${NETDATA_CONFIGURE_OPTIONS} --enable-lto" + shift 1 + elif [ "$1" = "--disable-lto" ] + then + NETDATA_CONFIGURE_OPTIONS="${NETDATA_CONFIGURE_OPTIONS} --disable-lto" + shift 1 elif [ "$1" = "--help" -o "$1" = "-h" ] then usage