Only use -ffat-lto-objects for MOD builds, not all headless ones

Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
falkTX 2022-02-08 18:52:23 +00:00
parent 2ed513866f
commit 59e7818b41
No known key found for this signature in database
GPG key ID: CDBAA37ABC74FBA0
3 changed files with 7 additions and 9 deletions

View file

@ -64,9 +64,6 @@ endif
ifeq ($(HEADLESS),true)
BASE_FLAGS += -DHEADLESS
ifeq ($(WITH_LTO),true)
BASE_FLAGS += -ffat-lto-objects
endif
endif
ifeq ($(BSD),true)

View file

@ -150,9 +150,6 @@ BASE_FLAGS += -pthread
ifeq ($(HEADLESS),true)
BASE_FLAGS += -DHEADLESS
ifeq ($(WITH_LTO),true)
BASE_FLAGS += -ffat-lto-objects
endif
endif
ifeq ($(WASM),true)