From 84cc01b8f0172250846ee2a03bdedc50055e9339 Mon Sep 17 00:00:00 2001 From: Clownacy Date: Sat, 14 Mar 2020 20:12:33 +0000 Subject: [PATCH] Remove LTO from the Makefile Can also be done by adding to CXXFLAGS The CMake one will be kept around because it uses an actual CMake feature. --- Makefile | 4 ---- README.md | 1 - 2 files changed, 5 deletions(-) diff --git a/Makefile b/Makefile index aa2206db..5cc0406d 100644 --- a/Makefile +++ b/Makefile @@ -15,10 +15,6 @@ else FILENAME_DEF = CSE2_debug.exe endif -ifeq ($(LTO), 1) - ALL_CXXFLAGS += -flto -endif - ifeq ($(JAPANESE), 1) BUILD_DIRECTORY = game_japanese diff --git a/README.md b/README.md index f92c92e1..23138ace 100644 --- a/README.md +++ b/README.md @@ -83,7 +83,6 @@ Name | Function --------|-------- `RELEASE=1` | Compile a release build (optimised, stripped, etc.) `STATIC=1` | Produce a statically-linked executable (so you don't need to bundle DLL files) -`LTO=1` | Enable link-time optimisation `JAPANESE=1` | Enable the Japanese-language build (instead of the unofficial Aeon Genesis English translation) `FIX_BUGS=1` | Fix various bugs in the game `DEBUG_SAVE=1` | Re-enable the dummied-out 'Debug Save' option, and the ability to drag-and-drop save files onto the window