diff --git a/debian/rules b/debian/rules index 2cf0e991b4c..2b3b7c0f585 100755 --- a/debian/rules +++ b/debian/rules @@ -19,6 +19,7 @@ CONFIG := --prefix=${TARGET_DIR} \ --disable-libxcb \ --disable-sdl2 \ --disable-xlib \ + --enable-lto \ --enable-gpl \ --enable-version3 \ --enable-static \ diff --git a/docker-build-win64.sh b/docker-build-win64.sh index 8b871829e10..87cc2c13d64 100755 --- a/docker-build-win64.sh +++ b/docker-build-win64.sh @@ -511,6 +511,7 @@ fi --disable-debug \ --disable-doc \ --enable-shared \ + --enable-lto \ --enable-gpl \ --enable-version3 \ --enable-schannel \