aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorTimo Rothenpieler <timo@rothenpieler.org>2023-05-30 13:47:19 +0200
committerChris Packham <judge.packham@gmail.com>2023-06-04 10:03:32 +1200
commit0160064f00b158a0a672a04f25fbb0968ac59cdf (patch)
tree6e5a76c493bc51a4b97e094e82320554bc5985db /config
parentd855363eee3848fd5c5f3aa1477a7d03fa4886c0 (diff)
downloadcrosstool-ng-0160064f00b158a0a672a04f25fbb0968ac59cdf.tar.gz
crosstool-ng-0160064f00b158a0a672a04f25fbb0968ac59cdf.tar.bz2
crosstool-ng-0160064f00b158a0a672a04f25fbb0968ac59cdf.zip
Add default msvcrt options for mingw-w64
Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
Diffstat (limited to 'config')
-rw-r--r--config/libc/mingw-w64.in36
1 files changed, 36 insertions, 0 deletions
diff --git a/config/libc/mingw-w64.in b/config/libc/mingw-w64.in
index 2531fef7..58bb4e8c 100644
--- a/config/libc/mingw-w64.in
+++ b/config/libc/mingw-w64.in
@@ -17,6 +17,42 @@ config MINGW_SECURE_API
bool "Expose secure API prototypes"
default y
+choice
+ bool
+ prompt "Default C Runtime to use"
+ default MINGW_DEFAULT_MSVCRT_DEFAULT
+ help
+ See mingw-w64 help for full list of possible values.
+ Most commonly one would want to upgrade this to ucrt
+ for a more modern C runtime.
+ Targeting specific older/newer MSVC versions is possible
+ as well though.
+
+config MINGW_DEFAULT_MSVCRT_DEFAULT
+ bool
+ prompt "Default"
+ help
+ Don't set a default msvcrt, leave decision to mingw.
+
+config MINGW_DEFAULT_MSVCRT_MSVCRT
+ bool
+ prompt "msvcrt"
+
+config MINGW_DEFAULT_MSVCRT_UCRT
+ bool
+ prompt "ucrt"
+
+config MINGW_DEFAULT_MSVCRT_CUSTOM
+ bool
+ prompt "Custom"
+
+endchoice
+
+config MINGW_DEFAULT_MSVCRT
+ string "Custom default C Runtime to use"
+ depends on MINGW_DEFAULT_MSVCRT_CUSTOM
+ default ""
+
config MINGW_DIRECTX
bool "Include DirectX development files"