diff --git a/src/Makefile b/src/Makefile index ffc744946..41e5aecc5 100644 --- a/src/Makefile +++ b/src/Makefile @@ -254,6 +254,7 @@ opts+=-O3 ifdef USELTO # compile with LTO opts+=-flto=auto +libs+=-flto=auto endif endif