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 +