From 0e8a7c08038b83383553f02a2d36fabd2cff6168 Mon Sep 17 00:00:00 2001 From: Vadim Godunko Date: Tue, 21 Nov 2023 09:31:59 +0400 Subject: [PATCH] Add -aPgnat switch to fix build of misc components. --- Makefile | 4 ++-- examples/blogs/json_1/blog_1.gpr | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 7b6a61e8..4afc7e91 100644 --- a/Makefile +++ b/Makefile @@ -192,8 +192,8 @@ install-libs-%: misc: # Check compilation of other projects gprbuild $(GPRBUILD_FLAGS) -aPgnat gnat/tools/json_schema.gpr gprbuild $(GPRBUILD_FLAGS) -aPgnat examples/regexp/grep.gpr - gprbuild $(GPRBUILD_FLAGS) examples/blogs/json_1/blog_1.gpr - gprbuild $(GPRBUILD_FLAGS) examples/command_line/command/command_line_command.gpr + gprbuild $(GPRBUILD_FLAGS) -aPgnat examples/blogs/json_1/blog_1.gpr + gprbuild $(GPRBUILD_FLAGS) -aPgnat examples/command_line/command/command_line_command.gpr spellcheck: @STATUS=0; \ diff --git a/examples/blogs/json_1/blog_1.gpr b/examples/blogs/json_1/blog_1.gpr index 013279be..508f248c 100644 --- a/examples/blogs/json_1/blog_1.gpr +++ b/examples/blogs/json_1/blog_1.gpr @@ -1,5 +1,5 @@ -with "../../../gnat/vss_json.gpr"; +with "vss_json.gpr"; project Blog_1 is