From 463f5b5faa4d637c9a12a24cde63e8d7030a0888 Mon Sep 17 00:00:00 2001 From: terminx Date: Sun, 7 Feb 2016 02:37:54 +0000 Subject: [PATCH] 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 --- polymer/eduke32/Makefile.common | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/polymer/eduke32/Makefile.common b/polymer/eduke32/Makefile.common index c9061aae1..50351c3e0 100644 --- a/polymer/eduke32/Makefile.common +++ b/polymer/eduke32/Makefile.common @@ -471,7 +471,7 @@ ifneq (0,$(RELEASE)) ifneq (0,$(LTO)) COMPILERFLAGS += -DUSING_LTO - COMMONFLAGS += -flto + COMMONFLAGS += -flto -fno-lto-odr-type-merging endif else ## Debugging enabled