diff --git a/src/Makefile b/src/Makefile index fcd52de19..4ee7cf1a9 100644 --- a/src/Makefile +++ b/src/Makefile @@ -93,7 +93,7 @@ # NOLDWARNING=1 - ? # NOSDLMAIN=1 - ? # SDLMAIN=1 - ? -# USELTO=1 - Enable building with LTO. +# NOLTO=1 - Disable link time optimizations # USEJEMALLOC=1 Enable building with jemalloc Allocator to replace GLibc malloc, might improve performance # # Library configuration flags: @@ -261,7 +261,7 @@ debug_opts=-D_DEBUG else # build a normal optimized version debug_opts=-DNDEBUG opts+=-O3 -ifdef USELTO +ifndef NOLTO # compile with LTO opts+=-flto=auto libs+=-flto=auto