aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.in
diff options
context:
space:
mode:
authorXiretza <xiretza@xiretza.xyz>2021-05-09 17:23:23 +0200
committertgingold <tgingold@users.noreply.github.com>2021-05-10 07:56:17 +0200
commitf7dec74cfabea67a33cf8835a6fcfbad10a60768 (patch)
tree1a39864a6d9c9ac907c4e0726683960dda12c7b7 /Makefile.in
parent22f619603e0348fba7472a4164fb31031f0f23d2 (diff)
downloadghdl-f7dec74cfabea67a33cf8835a6fcfbad10a60768.tar.gz
ghdl-f7dec74cfabea67a33cf8835a6fcfbad10a60768.tar.bz2
ghdl-f7dec74cfabea67a33cf8835a6fcfbad10a60768.zip
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.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in2
1 files changed, 1 insertions, 1 deletions
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)