diff options
author | Christophe Lyon <christophe.lyon@linaro.org> | 2024-10-03 16:02:55 +0000 |
---|---|---|
committer | Christophe Lyon <christophe.lyon@linaro.org> | 2024-10-17 15:43:28 +0000 |
commit | 71c7b446b98aa51294d79c45e37f1564668a1f3a (patch) | |
tree | 5ee298e08a58483c943c780718baa7c8b52ca83e | |
parent | d806810f02a15a82f284d9e0e03c24f32f2a3be2 (diff) | |
download | gcc-71c7b446b98aa51294d79c45e37f1564668a1f3a.zip gcc-71c7b446b98aa51294d79c45e37f1564668a1f3a.tar.gz gcc-71c7b446b98aa51294d79c45e37f1564668a1f3a.tar.bz2 |
aarch64: libgcc: Use -Werror
This patch adds -Werror to LIBGCC2_CFLAGS so that aarch64 can catch
warnings during bootstrap, while not impacting other targets.
The patch also adds -Wno-prio-ctor-dtor to avoid a warning when
compiling lse_init.c
libgcc/
* config/aarch64/t-aarch64: Always use -Werror
-Wno-prio-ctor-dtor.
-rw-r--r-- | libgcc/config/aarch64/t-aarch64 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libgcc/config/aarch64/t-aarch64 b/libgcc/config/aarch64/t-aarch64 index b70e7b9..d500bd0 100644 --- a/libgcc/config/aarch64/t-aarch64 +++ b/libgcc/config/aarch64/t-aarch64 @@ -30,3 +30,4 @@ LIB2ADDEH += \ $(srcdir)/config/aarch64/__arm_za_disable.S SHLIB_MAPFILES += $(srcdir)/config/aarch64/libgcc-sme.ver +LIBGCC2_CFLAGS += -Werror -Wno-prio-ctor-dtor |