Continue the work started in commit
ca205a752c3d6ebe7de74a3dfe81808e48a502e3 ("configure: Make Cygwin take
regular configure path") by removing the forceful setting of flags that
are automatically detected anyway.
Even CONFIG_64BIT_LLP64 is unneeded because despite their names
CONFIG_32BIT/CONFIG_64BIT are only used to control the size's of words
and the regular configure path correctly detects CONFIG_32BIT for 64 bit
Windows even though it's LLP64.
Signed-off-by: Sitsofe Wheeler <sitsofe@yahoo.com>
SOURCE += engines/libhdfs.c
endif
SOURCE += engines/libhdfs.c
endif
-ifdef CONFIG_64BIT_LLP64
- CFLAGS += -DBITS_PER_LONG=32
-endif
ifdef CONFIG_64BIT
CFLAGS += -DBITS_PER_LONG=64
endif
ifdef CONFIG_64BIT
CFLAGS += -DBITS_PER_LONG=64
endif
cc="x86_64-w64-mingw32-gcc"
fi
fi
cc="x86_64-w64-mingw32-gcc"
fi
fi
- if test ! -z "$build_32bit_win" && test "$build_32bit_win" = "yes"; then
- output_sym "CONFIG_32BIT"
- else
- output_sym "CONFIG_64BIT_LLP64"
target_win_ver=$(echo "$target_win_ver" | tr '[:lower:]' '[:upper:]')
if test -z "$target_win_ver"; then
target_win_ver=$(echo "$target_win_ver" | tr '[:lower:]' '[:upper:]')
if test -z "$target_win_ver"; then
# We now take the regular configuration path without having exit 0 here.
# Flags below are still necessary mostly for MinGW.
socklen_t="yes"
# We now take the regular configuration path without having exit 0 here.
# Flags below are still necessary mostly for MinGW.
socklen_t="yes"
- sfaa="yes"
- sync_sync="yes"
- cmp_swap="yes"
rusage_thread="yes"
fdatasync="yes"
clock_gettime="yes" # clock_monotonic probe has dependency on this
rusage_thread="yes"
fdatasync="yes"
clock_gettime="yes" # clock_monotonic probe has dependency on this
gettimeofday="yes"
sched_idle="yes"
tcp_nodelay="yes"
gettimeofday="yes"
sched_idle="yes"
tcp_nodelay="yes"
- tls_thread="yes"
- static_assert="yes"
- mkdir_two="no"
- echo "BUILD_CFLAGS=$CFLAGS -include config-host.h -D_GNU_SOURCE" >> $config_host_mak