Add -fno-lto-odr-type-merging to LTO builds to disable a feature that generates a warning in newer versions of GCC

git-svn-id: https://svn.eduke32.com/eduke32@5610 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2016-02-07 02:37:54 +00:00
parent b8eb4af3f7
commit 463f5b5faa

View file

@ -471,7 +471,7 @@ ifneq (0,$(RELEASE))
ifneq (0,$(LTO)) ifneq (0,$(LTO))
COMPILERFLAGS += -DUSING_LTO COMPILERFLAGS += -DUSING_LTO
COMMONFLAGS += -flto COMMONFLAGS += -flto -fno-lto-odr-type-merging
endif endif
else else
## Debugging enabled ## Debugging enabled