From: <ma...@us...> - 2014-12-08 16:35:26
|
Revision: 60347 http://sourceforge.net/p/firebird/code/60347 Author: mapopa Date: 2014-12-08 16:35:22 +0000 (Mon, 08 Dec 2014) Log Message: ----------- Remove deprecated GCC flag -mno-cygwin . Modified Paths: -------------- firebird/trunk/builds/posix/prefix.mingw firebird/trunk/configure.ac firebird/trunk/extern/libtommath/makefile.cygwin_dll Modified: firebird/trunk/builds/posix/prefix.mingw =================================================================== --- firebird/trunk/builds/posix/prefix.mingw 2014-12-08 13:12:16 UTC (rev 60346) +++ firebird/trunk/builds/posix/prefix.mingw 2014-12-08 16:35:22 UTC (rev 60347) @@ -20,8 +20,8 @@ # # -Wno-unused-variable is used due to unused gpre generated variables -PROD_FLAGS=-O2 -march=i586 -DMINGW -mno-cygwin -Wall -Wshadow -Wundef -Wno-long-long -Wno-unused-variable -Wno-sign-compare -Wno-parentheses -Wno-switch -fmessage-length=0 -Dlint -DWIN32_LEAN_AND_MEAN -MMD -mthreads -Wno-non-virtual-dtor -DEV_FLAGS=-ggdb -march=i586 -DMINGW -mno-cygwin -Wall -Wshadow -Wundef -Wno-long-long -Wno-unused-variable -Wno-sign-compare -Wno-parentheses -Wno-switch -fmessage-length=0 -Dlint -DWIN32_LEAN_AND_MEAN -MMD -mthreads -Wno-non-virtual-dtor +PROD_FLAGS=-O2 -march=i586 -DMINGW -Wall -Wshadow -Wundef -Wno-long-long -Wno-unused-variable -Wno-sign-compare -Wno-parentheses -Wno-switch -fmessage-length=0 -Dlint -DWIN32_LEAN_AND_MEAN -MMD -mthreads -Wno-non-virtual-dtor +DEV_FLAGS=-ggdb -march=i586 -DMINGW -Wall -Wshadow -Wundef -Wno-long-long -Wno-unused-variable -Wno-sign-compare -Wno-parentheses -Wno-switch -fmessage-length=0 -Dlint -DWIN32_LEAN_AND_MEAN -MMD -mthreads -Wno-non-virtual-dtor PLATFORM_PATH=os/win32 Modified: firebird/trunk/configure.ac =================================================================== --- firebird/trunk/configure.ac 2014-12-08 13:12:16 UTC (rev 60346) +++ firebird/trunk/configure.ac 2014-12-08 16:35:22 UTC (rev 60347) @@ -1037,7 +1037,7 @@ #define FB_PIPE_NAME "interbas"]) AC_DEFINE_UNQUOTED(FB_PIPE_NAME,"$FB_PIPE_NAME") AC_SUBST(FB_PIPE_NAME) - XE_PREPEND( -mno-cygwin -mthreads -lmpr -lversion -lws2_32 -lole32,LIBS) + XE_PREPEND( -mthreads -lmpr -lversion -lws2_32 -lole32,LIBS) ;; *) Modified: firebird/trunk/extern/libtommath/makefile.cygwin_dll =================================================================== --- firebird/trunk/extern/libtommath/makefile.cygwin_dll 2014-12-08 13:12:16 UTC (rev 60346) +++ firebird/trunk/extern/libtommath/makefile.cygwin_dll 2014-12-08 16:35:22 UTC (rev 60347) @@ -5,7 +5,7 @@ #"-Wl,--enable-auto-import" to your client build to avoid the auto-import warnings # #Tom St Denis -CFLAGS += -I./ -Wall -W -Wshadow -O3 -funroll-loops -mno-cygwin +CFLAGS += -I./ -Wall -W -Wshadow -O3 -funroll-loops #x86 optimizations [should be valid for any GCC install though] CFLAGS += -fomit-frame-pointer @@ -42,7 +42,7 @@ # make a Windows DLL via Cygwin windll: $(OBJECTS) - gcc -mno-cygwin -mdll -o libtommath.dll -Wl,--out-implib=libtommath.dll.a -Wl,--export-all-symbols *.o + gcc -mdll -o libtommath.dll -Wl,--out-implib=libtommath.dll.a -Wl,--export-all-symbols *.o ranlib libtommath.dll.a # build the test program using the windows DLL This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |