windows: remove -mno-cygwin option from CFLAGS
authorFerry Huberts <ferry.huberts@pelagic.nl>
Thu, 10 May 2012 15:10:29 +0000 (17:10 +0200)
committerFerry Huberts <ferry.huberts@pelagic.nl>
Thu, 10 May 2012 18:50:14 +0000 (20:50 +0200)
It is no longer supported in newer MinGW gcc versions

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
make/Makefile.win32

index cf4a4a2..e2a216e 100644 (file)
@@ -9,9 +9,8 @@ SRCS +=         $(wildcard src/win32/*.c)
 HDRS +=                $(wildcard src/win32/*.h)
 
 CPPFLAGS +=    -DWIN32 -D_WIN32_WINNT=0x0600
-LIBS +=                -mno-cygwin -lws2_32 -liphlpapi
+LIBS +=                -lws2_32 -liphlpapi
 CPPFLAGS +=    -I$(TOPDIR)/src/win32
-CFLAGS +=      -mno-cygwin
 
 PLUGIN_SONAME ?= $(PLUGIN_NAME)
 PLUGIN_FULLNAME ?= $(PLUGIN_NAME).dll