File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -892,8 +892,6 @@ build_single_target() {
892892
893893 _CPPFLAGS_GLOBAL+=' -D_FORTIFY_SOURCE=3' # Requires mingw-w64 11.0.0
894894
895- _CPPFLAGS_GLOBAL+=' -D_FILE_OFFSET_BITS=64'
896-
897895 elif [ " ${_OS} " = ' mac' ]; then
898896 if [ " ${_HOST} " != " ${_OS} " ]; then
899897 _CMAKE_GLOBAL=" -DCMAKE_SYSTEM_NAME=Darwin ${_CMAKE_GLOBAL} "
Original file line number Diff line number Diff line change @@ -27,8 +27,10 @@ _VER="$1"
2727 mkdir -p " ${_BLDDIR} "
2828 (
2929 cd " ${_BLDDIR} "
30+ CPPFLAGS=' '
31+ [ " ${_OS} " = ' win' ] && CPPFLAGS+=' -D_FILE_OFFSET_BITS=64' # for stat()
3032 # shellcheck disable=SC2046,SC2086
31- ${_CC_GLOBAL} ${_CFLAGS_GLOBAL} ${_CFLAGS_GLOBAL_RAW} ${_CPPFLAGS_GLOBAL} \
33+ ${_CC_GLOBAL} ${_CFLAGS_GLOBAL} ${_CFLAGS_GLOBAL_RAW} ${_CPPFLAGS_GLOBAL} ${CPPFLAGS} \
3234 -DENABLE_BUILTIN -DPACKAGE_VERSION=" \" ${LIBPSL_VER_} \" " \
3335 -I. -I.. -I../include -c $( find ../src -name ' *.c' | sort)
3436 # shellcheck disable=SC2046
You can’t perform that action at this time.
0 commit comments