ada: ignore unknown pragmas

Triggered by the toolchain update to GCC 12 certain pragmas lead to
a build error as those are now unknown. As quick-fix add '-gnatwG',
which suppresses warnings on unrecognized pragmas.

Issue #4880.
This commit is contained in:
Josef Söntgen 2023-05-16 11:40:33 +02:00 committed by Christian Helmuth
parent 37735d84d9
commit 6355b48eee

View File

@ -87,7 +87,7 @@ endif
# We need to override these to build the ada runtime
#
CUSTOM_ADA_FLAGS ?= --RTS=$(ADA_RTS)
CUSTOM_ADA_OPT ?= $(CC_ADA_OPT) -gnatef
CUSTOM_ADA_OPT ?= $(CC_ADA_OPT) -gnatef -gnatwG
CUSTOM_ADA_INCLUDE ?= -I- $(INCLUDES)
#