summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJonas Kvinge <jonas@jkvinge.net>2021-05-25 13:58:49 (GMT)
committerTony Theodore <tonyt@logyst.com>2021-05-26 11:09:41 (GMT)
commit87a9b83dcf7d1650149e1d24f490d70405ddba1f (patch)
tree14fd64560aec4fcc1211a42549ba45b1aef0236d /src
parent921f882c9e14a7f3b11a644af98210c15b4418c1 (diff)
downloadmxe-87a9b83dcf7d1650149e1d24f490d70405ddba1f.zip
mxe-87a9b83dcf7d1650149e1d24f490d70405ddba1f.tar.gz
mxe-87a9b83dcf7d1650149e1d24f490d70405ddba1f.tar.bz2
Add --with-default-win32-winnt=0x0600
Diffstat (limited to 'src')
-rw-r--r--src/gcc.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gcc.mk b/src/gcc.mk
index 83d3ac8..8fac56f 100644
--- a/src/gcc.mk
+++ b/src/gcc.mk
@@ -70,11 +70,11 @@ define $(PKG)_BUILD_mingw-w64
cd '$(BUILD_DIR).headers' && '$(BUILD_DIR)/$(mingw-w64_SUBDIR)/mingw-w64-headers/configure' \
--host='$(TARGET)' \
--prefix='$(PREFIX)/$(TARGET)' \
- --with-default-msvcrt=msvcrt \
--enable-sdk=all \
--enable-idl \
--enable-secure-api \
--with-default-msvcrt=msvcrt \
+ --with-default-win32-winnt=0x0600 \
$(mingw-w64-headers_CONFIGURE_OPTS)
$(MAKE) -C '$(BUILD_DIR).headers' install
@@ -89,6 +89,7 @@ define $(PKG)_BUILD_mingw-w64
--host='$(TARGET)' \
--prefix='$(PREFIX)/$(TARGET)' \
--with-default-msvcrt=msvcrt \
+ --with-default-win32-winnt=0x0600 \
@gcc-crt-config-opts@ \
$(mingw-w64-crt_CONFIGURE_OPTS)
$(MAKE) -C '$(BUILD_DIR).crt' -j '$(JOBS)' || $(MAKE) -C '$(BUILD_DIR).crt' -j '$(JOBS)'