From 5f443dd538d3b7af977fd50d964b78713f3b8906 Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Thu, 20 Mar 2003 20:07:08 +0000 Subject: [PATCH] fixed up the cygwin build for R3.14 --- configure/os/CONFIG.Common.win32-x86-cygwin | 8 +++++++- configure/os/CONFIG.win32-x86-cygwin.win32-x86-cygwin | 11 +++++++++-- 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/configure/os/CONFIG.Common.win32-x86-cygwin b/configure/os/CONFIG.Common.win32-x86-cygwin index a1058b97d..97ac83589 100644 --- a/configure/os/CONFIG.Common.win32-x86-cygwin +++ b/configure/os/CONFIG.Common.win32-x86-cygwin @@ -15,7 +15,9 @@ ARCH_CLASS = x86 EXE=.exe -POSIX_CPPFLAGS_YES = -D_POSIX_SOURCE=199506L -D_POSIX_THREADS -D_POSIX_TIMERS +#POSIX_CPPFLAGS_YES = -D_POSIX_SOURCE=199506L -D_POSIX_THREADS -D_POSIX_TIMERS +# _POSIX_SOURCE eliminates select() +POSIX_CPPFLAGS_YES = -D_POSIX_THREADS -D_POSIX_TIMERS POSIX_CPPFLAGS_NO = #POSIX_LDLIBS_YES += -lpthread POSIX_LDLIBS_NO = @@ -27,3 +29,7 @@ OP_SYS_LDFLAGS += OP_SYS_LDLIBS += ####OP_SYS_LDLIBS += -lrt + + + + diff --git a/configure/os/CONFIG.win32-x86-cygwin.win32-x86-cygwin b/configure/os/CONFIG.win32-x86-cygwin.win32-x86-cygwin index f63d6a342..2c7d2e9b4 100644 --- a/configure/os/CONFIG.win32-x86-cygwin.win32-x86-cygwin +++ b/configure/os/CONFIG.win32-x86-cygwin.win32-x86-cygwin @@ -19,6 +19,13 @@ AR = ar -rc LD = ld -r RANLIB = ranlib -CODE_CFLAGS = -CODE_CXXFLAGS = +# Avoid position-independent code is always generated message +SHRLIB_CFLAGS = + +# -ansi eliminates strdup +CONFORM_CFLAGS_ANSI = +CONFORM_CFLAGS_STRICT = -pedantic +CONFORM_CXXFLAGS_ANSI = +CONFORM_CXXFLAGS_STRICT = -pedantic +