diff options
Diffstat (limited to 'libatomic/configure.tgt')
-rw-r--r-- | libatomic/configure.tgt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/libatomic/configure.tgt b/libatomic/configure.tgt index a3757efbbe2..c53b8ce95b6 100644 --- a/libatomic/configure.tgt +++ b/libatomic/configure.tgt @@ -108,6 +108,17 @@ case "${target}" in config_path="${config_path} posix" ;; + *-*-mingw*) + # OS support for atomic primitives. + case ${target_thread_file} in + win32) + config_path="${config_path} mingw" + ;; + posix) + config_path="${config_path} posix" + ;; + esac + ;; *-*-elf*) # ??? No target OS. We could be targeting bare-metal kernel-mode, # or user-mode for some custom OS. If the target supports TAS, |