Fix for building using FSF GNAT 9

These changes are necessary to build under FSF GNAT 9 (Ubuntu 20.04).
This commit is contained in:
mgr 2021-12-02 20:32:40 +01:00
parent e5ef5e6ca0
commit 995f85bc3e
2 changed files with 3 additions and 7 deletions

View File

@ -2,7 +2,7 @@ library project AdaID is
Version := "%VERSION%";
for Library_Name use "adaid";
for Object_Dir use "obj";
for Source_Dirs use ("src");
for Source_Dirs use ("src", "include");
for Library_Dir use "lib";
for Library_Kind use "dynamic";
for Library_ALI_Dir use "ali";

View File

@ -9,10 +9,7 @@ project Test is
package Builder is
for Default_Switches("Ada") use ("-g",
"-Wall",
"-Wextra",
"-gnatQ",
"-I./include");
"-gnatQ");
end Builder;
@ -28,8 +25,7 @@ project Test is
"-g",
"-Wall",
"--pedantic-errors",
"-Wextra",
"-I./include");
"-Wextra");
end Compiler;
package Binder is