Revert LTO because it's caused plugins to use LTO unless they specificed "-fno-lto"

This commit is contained in:
Maschell 2024-12-26 15:15:27 +01:00
parent 6c7937613a
commit 8db6ade6cb

View File

@ -25,7 +25,6 @@ INCLUDES := include
#--------------------------------------------------------------------------------- #---------------------------------------------------------------------------------
CFLAGS := -g -Wall -Werror -save-temps \ CFLAGS := -g -Wall -Werror -save-temps \
-ffunction-sections -fdata-sections \ -ffunction-sections -fdata-sections \
-flto -ffat-lto-objects \
$(MACHDEP) \ $(MACHDEP) \
$(BUILD_CFLAGS) $(BUILD_CFLAGS)