Make LTO optional; Redefine some conflicting plugin types
Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
parent
49a7138e87
commit
11cd37ea7a
3 changed files with 51 additions and 27 deletions
8
deps/Makefile
vendored
8
deps/Makefile
vendored
|
@ -28,10 +28,10 @@ BASE_FLAGS += -I../include/mingw-compat
|
|||
BASE_FLAGS += -I../include/mingw-std-threads
|
||||
endif
|
||||
|
||||
# ifneq ($(DEBUG),true)
|
||||
# BASE_FLAGS += -fno-strict-aliasing -flto -Werror=odr -Werror=lto-type-mismatch
|
||||
# LINK_FLAGS += -fno-strict-aliasing -flto -Werror=odr -Werror=lto-type-mismatch
|
||||
# endif
|
||||
ifeq ($(WITH_LTO),true)
|
||||
BASE_FLAGS += -fno-strict-aliasing -flto
|
||||
LINK_FLAGS += -fno-strict-aliasing -flto -Werror=odr -Werror=lto-type-mismatch
|
||||
endif
|
||||
|
||||
# --------------------------------------------------------------
|
||||
# override VCV arch.mk stuff so we can build more architectures
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue