From 5fe88d6371ae9bb81a3a58163e8f6d5294c75789 Mon Sep 17 00:00:00 2001 From: Andrew Hannam Date: Mon, 25 Jul 2016 18:23:32 +1000 Subject: [PATCH] Update the Win32 example project to work with current versions of cygwin mingw32 compiler --- boards/base/Win32/example/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/boards/base/Win32/example/Makefile b/boards/base/Win32/example/Makefile index 0087ca90..5c3f3157 100644 --- a/boards/base/Win32/example/Makefile +++ b/boards/base/Win32/example/Makefile @@ -8,7 +8,7 @@ # See $(GFXLIB)/tools/gmake_scripts/readme.txt for the list of variables # For Win32 this variable can be set to "win32" (native win32 api) or "win32.chibios" (ChibiOS simulator). OPT_OS = win32 - OPT_LINK_OPTIMIZE = yes + OPT_LINK_OPTIMIZE = no # uGFX settings # See $(GFXLIB)/tools/gmake_scripts/library_ugfx.mk for the list of variables @@ -29,7 +29,7 @@ endif # Set these for your project # -ARCH = i686-pc-mingw32- +ARCH = i686-w64-mingw32- SRCFLAGS = -ggdb -O0 CFLAGS = CXXFLAGS =