mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-26 03:30:46 +00:00
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:
parent
b8eb4af3f7
commit
463f5b5faa
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue