Some experiments with LTO
Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
parent
5a98036a7d
commit
e810c8e4a9
6 changed files with 9 additions and 9 deletions
4
deps/Makefile
vendored
4
deps/Makefile
vendored
|
@ -28,8 +28,8 @@ BASE_FLAGS += -I../include/mingw-std-threads
|
|||
endif
|
||||
|
||||
ifeq ($(WITH_LTO),true)
|
||||
BASE_FLAGS += -fno-strict-aliasing -flto
|
||||
LINK_FLAGS += -fno-strict-aliasing -flto -Werror=odr -Werror=lto-type-mismatch
|
||||
BASE_FLAGS += -fno-strict-aliasing -flto -ffat-lto-objects
|
||||
LINK_FLAGS += -fno-strict-aliasing -flto -ffat-lto-objects -Werror=odr -Werror=lto-type-mismatch
|
||||
endif
|
||||
|
||||
BUILD_C_FLAGS += -fno-finite-math-only
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue