mirror of https://github.com/berriedale/arun
Make GNAT work as a proper Ada compiler
Without the added flags `gnatmake` is not a proper Ada compiler (specifically are stack and integer overflows not checked).
This commit is contained in:
parent
496189fd19
commit
821514aa78
7
arun.gpr
7
arun.gpr
|
@ -15,9 +15,12 @@ project Arun is
|
|||
for Executable ("main.adb") use "arun";
|
||||
end Builder;
|
||||
|
||||
-- Enable Ada 2005.
|
||||
-- Enable Ada 2012.
|
||||
package Compiler is
|
||||
for Switches ("Ada") use ("-gnat2012");
|
||||
for Switches ("Ada") use ("-gnat2012",
|
||||
"-fstack-check",
|
||||
"-gnata",
|
||||
"-gnato");
|
||||
end Compiler;
|
||||
|
||||
end Arun;
|
||||
|
|
Loading…
Reference in New Issue