diff options
author | Boris Nagaev <bnagaev@gmail.com> | 2017-01-29 02:23:21 (GMT) |
---|---|---|
committer | Boris Nagaev <bnagaev@gmail.com> | 2017-02-01 02:08:50 (GMT) |
commit | dc159007693ea82c248ff20fbe880a1de91019a5 (patch) | |
tree | cf452c6913c579c3837dede41916e1d0f9dec3c2 /src/gcc.mk | |
parent | 36296ee42077ba6e6879b86f02eb3885ac14ebe6 (diff) | |
download | mxe-dc159007693ea82c248ff20fbe880a1de91019a5.zip mxe-dc159007693ea82c248ff20fbe880a1de91019a5.tar.gz mxe-dc159007693ea82c248ff20fbe880a1de91019a5.tar.bz2 |
mingw-w64: add --enable-secure-api
This is needed to update glib to 2.51.1. It uses strerror_s,
which is guarded by MINGW_HAS_SECURE_API.
See http://win-builds.org/bugs/index.php?do=details&task_id=79
See https://sourceforge.net/p/tdm-gcc/bugs/305/
Diffstat (limited to 'src/gcc.mk')
-rw-r--r-- | src/gcc.mk | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -78,6 +78,7 @@ define $(PKG)_BUILD_mingw-w64 --prefix='$(PREFIX)/$(TARGET)' \ --enable-sdk=all \ --enable-idl \ + --enable-secure-api \ $(mingw-w64-headers_CONFIGURE_OPTS) $(MAKE) -C '$(1).headers-build' install |