mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-23 19:03:59 +08:00
71c7b446b9
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.
34 lines
1.2 KiB
Plaintext
34 lines
1.2 KiB
Plaintext
# Machine description for AArch64 architecture.
|
|
# Copyright (C) 2012-2024 Free Software Foundation, Inc.
|
|
# Contributed by ARM Ltd.
|
|
#
|
|
# This file is part of GCC.
|
|
#
|
|
# GCC is free software; you can redistribute it and/or modify it
|
|
# under the terms of the GNU General Public License as published by
|
|
# the Free Software Foundation; either version 3, or (at your option)
|
|
# any later version.
|
|
#
|
|
# GCC is distributed in the hope that it will be useful, but
|
|
# WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
# General Public License for more details.
|
|
#
|
|
# You should have received a copy of the GNU General Public License
|
|
# along with GCC; see the file COPYING3. If not see
|
|
# <http://www.gnu.org/licenses/>.
|
|
|
|
LIB2ADD += $(srcdir)/config/aarch64/sync-cache.c
|
|
LIB2ADD += $(srcdir)/config/aarch64/cpuinfo.c
|
|
|
|
# Add sme runtime to shared libgcc
|
|
LIB2ADDEH += \
|
|
$(srcdir)/config/aarch64/__aarch64_have_sme.c \
|
|
$(srcdir)/config/aarch64/__arm_sme_state.S \
|
|
$(srcdir)/config/aarch64/__arm_tpidr2_restore.S \
|
|
$(srcdir)/config/aarch64/__arm_tpidr2_save.S \
|
|
$(srcdir)/config/aarch64/__arm_za_disable.S
|
|
|
|
SHLIB_MAPFILES += $(srcdir)/config/aarch64/libgcc-sme.ver
|
|
LIBGCC2_CFLAGS += -Werror -Wno-prio-ctor-dtor
|