From 7b8bee27526c3b1a687a2e19d8afcc7144736d10 Mon Sep 17 00:00:00 2001 From: Daniel Gurney Date: Wed, 7 Mar 2018 20:10:19 +0200 Subject: [PATCH] Remove useless W5500 if condition and fix nonexistent -O level in Makefile.mingw --- src/win/Makefile.mingw | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/win/Makefile.mingw b/src/win/Makefile.mingw index e9294b657..a5d7ddd2a 100644 --- a/src/win/Makefile.mingw +++ b/src/win/Makefile.mingw @@ -246,7 +246,7 @@ else ifeq ($(OPTIM), y) AOPTIM := -mtune=native ifndef COPTIM - COPTIM := -O6 -flto + COPTIM := -O3 -flto endif else ifndef COPTIM @@ -254,11 +254,7 @@ else endif endif endif -ifeq ($(W5580), y) - AFLAGS := -msse2 -msse3 -mssse3 -msse4 -msse4.1 -msse4.2 -mfpmath=sse -else - AFLAGS := -msse2 -mfpmath=sse -endif +AFLAGS := -msse2 -mfpmath=sse RFLAGS := --input-format=rc -O coff ifeq ($(RELEASE), y) OPTS += -DRELEASE_BUILD