From 038ce984c5111f2083540e71aa9f085e990c0861 Mon Sep 17 00:00:00 2001 From: FinnHornhoover Date: Sun, 6 Sep 2020 18:52:50 +0300 Subject: [PATCH] O3 fix for mingw g++ --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 649e6bc..c95c25f 100644 --- a/Makefile +++ b/Makefile @@ -14,8 +14,8 @@ PROTOCOL_VERSION?=104 # Windows-specific WIN_CC=x86_64-w64-mingw32-gcc WIN_CXX=x86_64-w64-mingw32-g++ -WIN_CFLAGS=-O0 #-g3 -fsanitize=address -WIN_CXXFLAGS=-Wall -std=c++17 -O0 -DPROTOCOL_VERSION=$(PROTOCOL_VERSION) #-g3 -fsanitize=address +WIN_CFLAGS=-O3 #-g3 -fsanitize=address +WIN_CXXFLAGS=-Wall -std=c++17 -O3 -fno-tree-dce -fno-inline-small-functions -DPROTOCOL_VERSION=$(PROTOCOL_VERSION) #-g3 -fsanitize=address WIN_LDFLAGS=-static -lws2_32 -lwsock32 #-g3 -fsanitize=address WIN_SERVER=bin/winfusion.exe