From f7dec74cfabea67a33cf8835a6fcfbad10a60768 Mon Sep 17 00:00:00 2001 From: Xiretza Date: Sun, 9 May 2021 17:23:23 +0200 Subject: Makefile.in: disable assertions for GRT Enabling asserts results in errors of the following kind when trying to elaborate a design: /usr/local/lib/ghdl/libgrt.a(grt-rtis.o): In function `__ghdl_rti_add_package': grt-rtis.adb:(.text+0x475): undefined reference to `system__assertions__raise_assert_failure' system__assertions__raise_assert_failure is provided by libgnat.so. --- Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile.in') diff --git a/Makefile.in b/Makefile.in index f14b9f5f0..bdd09dcc1 100644 --- a/Makefile.in +++ b/Makefile.in @@ -82,7 +82,7 @@ endif GNATFLAGS=-gnat12 -gnaty3befhkmr -gnatwa -gnatwC -gnatf $(OPT_FLAGS) $(COVERAGE_FLAGS) $(ADA_FLAGS) GRT_FLAGS=$(OPT_FLAGS) $(COVERAGE_FLAGS) -GRT_ADAFLAGS:=$(ADA_FLAGS) +GRT_ADAFLAGS:=$(filter-out -gnata,$(ADA_FLAGS)) ifeq "$(default_pic)" "true" GRT_FLAGS+=$(PIC_FLAGS) -- cgit v1.2.3