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%"; Version := "%VERSION%";
for Library_Name use "adaid"; for Library_Name use "adaid";
for Object_Dir use "obj"; for Object_Dir use "obj";
for Source_Dirs use ("src"); for Source_Dirs use ("src", "include");
for Library_Dir use "lib"; for Library_Dir use "lib";
for Library_Kind use "dynamic"; for Library_Kind use "dynamic";
for Library_ALI_Dir use "ali"; for Library_ALI_Dir use "ali";

View File

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