The patch bypasses hidden attribute warnings in MinGW until it is implemented.
libgcc/ChangeLog: * config.host: Update. * config/aarch64/t-mingw: New. --- libgcc/config.host | 1 + libgcc/config/aarch64/t-mingw | 2 ++ 2 files changed, 3 insertions(+) create mode 100644 libgcc/config/aarch64/t-mingw 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..a72a2f70177 --- /dev/null +++ b/libgcc/config/aarch64/t-mingw @@ -0,0 +1,2 @@ +# Bypass hidden attribute warnings in MinGW until it is implemented +LIBGCC2_CFLAGS += -Wno-error=attributes -- 2.34.1