---
 gcc/config.gcc | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/gcc/config.gcc b/gcc/config.gcc
index d62eb162934..90f693be5e1 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -1320,6 +1320,9 @@ aarch64-*-mingw*)
        tm_file="${tm_file} aarch64/aarch64-abi-ms.h"
        tm_file="${tm_file} aarch64/aarch64-coff.h"
        tm_file="${tm_file} aarch64/cygming.h"
+       if test x$enable_threads = xposix ; then
+               tm_file="${tm_file} i386/mingw-pthread.h"
+       fi
        tm_file="${tm_file} mingw/mingw32.h"
        tm_file="${tm_file} mingw/mingw-stdint.h"
        tm_file="${tm_file} mingw/winnt.h"
-- 
2.52.0

Reply via email to