From 6751d9898be671d253d6f7b0806cd4b10daaaf85 Mon Sep 17 00:00:00 2001
From: marha <marha@users.sourceforge.net>
Date: Mon, 31 Jan 2011 13:24:04 +0000
Subject: Enabled global optimisation in release build winmain :
 GetEnvironmentStrings return should be freed with FreeEnvironmentStrings

---
 pthreads/Makefile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'pthreads')

diff --git a/pthreads/Makefile b/pthreads/Makefile
index eca5a6d00..0ec9f10ab 100644
--- a/pthreads/Makefile
+++ b/pthreads/Makefile
@@ -24,12 +24,12 @@ INLINED_STAMPS	= pthreadVCE$(DLL_VER).stamp pthreadVSE$(DLL_VER).stamp pthreadVC
 STATIC_STAMPS	= pthreadVCE$(DLL_VER).static pthreadVSE$(DLL_VER).static pthreadVC$(DLL_VER).static \
 				  pthreadVCE$(DLL_VERD).static pthreadVSE$(DLL_VERD).static pthreadVC$(DLL_VERD).static
 
-OPTIM	= /O2 /Ob2 /MD
+OPTIM	= /O2 /Ob2 /Oi /Ox /Oy /Ot /MD /GL
 OPTIMD	= /MDd
 
-CFLAGS	= /W3 /nologo /I. /D_WIN32_WINNT=0x400 /DHAVE_CONFIG_H
+CFLAGS	= /W3 /nologo /Gy /GF /Zi /I. /D_WIN32_WINNT=0x400 /DHAVE_CONFIG_H
 
-CFLAGSD	= /Zi $(CFLAGS)
+CFLAGSD	= $(CFLAGS)
 
 # Uncomment this if config.h defines RETAIN_WSALASTERROR
 #XLIBS = wsock32.lib
-- 
cgit v1.2.3