diff --git a/libgcc/config.host b/libgcc/config.host
index 06fae1545b1..51471cdd8bb 100644
--- a/libgcc/config.host
+++ b/libgcc/config.host
@@ -479,6 +479,7 @@ aarch64-*-mingw*)
        tmake_file="${tmake_file} ${cpu_type}/t-no-eh ${tmake_thr_file}"
        tmake_file="${tmake_file} t-dfprules"
        tmake_file="${tmake_file} ${cpu_type}/t-aarch64"
+       tmake_file="${tmake_file} ${cpu_type}/t-mingw"
        tmake_file="${tmake_file} ${cpu_type}/t-lse"
        tmake_file="${tmake_file} ${cpu_type}/t-softfp t-softfp t-crtfm"
        ;;
diff --git a/libgcc/config/aarch64/t-mingw b/libgcc/config/aarch64/t-mingw
new file mode 100644
index 00000000000..de06e2abff8
--- /dev/null
+++ b/libgcc/config/aarch64/t-mingw
@@ -0,0 +1,2 @@
+# Bypassing hidden attribute warnings in MinGW until it is implmented
+LIBGCC2_CFLAGS += -Wno-error=attributes
