Only use -ffat-lto-objects for MOD builds, not all headless ones
Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
parent
2ed513866f
commit
59e7818b41
3 changed files with 7 additions and 9 deletions
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue