]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
aarch64: Bypass hidden attribute warnings in MinGW
authorEvgeny Karpov <evgeny.karpov@microsoft.com>
Fri, 1 Nov 2024 16:47:15 +0000 (17:47 +0100)
committerEvgeny Karpov <eukarpov@gmail.com>
Tue, 19 Nov 2024 13:27:33 +0000 (14:27 +0100)
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
libgcc/config/aarch64/t-mingw [new file with mode: 0644]

index 06fae1545b18507afc5cd5aed0570934d0d3b7fa..51471cdd8bba23a012001a0ec1bcf43e68f6ab54 100644 (file)
@@ -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 (file)
index 0000000..a72a2f7
--- /dev/null
@@ -0,0 +1,2 @@
+# Bypass hidden attribute warnings in MinGW until it is implemented
+LIBGCC2_CFLAGS += -Wno-error=attributes