From 8a5c089ac6cd408c32dab4b8799830ea2575126c Mon Sep 17 00:00:00 2001 From: Martin Date: Sat, 11 Jun 2016 14:43:03 +0200 Subject: [PATCH] Enable LTO for debian package --- build_server_debian.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build_server_debian.sh b/build_server_debian.sh index c0f39de2..9b4eb5e6 100755 --- a/build_server_debian.sh +++ b/build_server_debian.sh @@ -16,7 +16,7 @@ if ! test -e build_server_debian_ok then ./switch_build.sh server autoreconf --install - ./configure --enable-packaging --enable-install_initd --with-mountvhd LDFLAGS="$LDFLAGS" + ./configure --enable-packaging --enable-install_initd --with-mountvhd LDFLAGS="$LDFLAGS -flto" CPPFLAGS="-flto" touch build_server_debian_ok fi