remove trailing spaces in ada template (#7527)

This commit is contained in:
William Cheng 2018-01-30 14:39:13 +08:00 committed by GitHub
parent 4b428e89b6
commit 6b9d38d40a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 8 deletions

View File

@ -13,7 +13,7 @@ abstract project Config is
package Builder is
case Mode is
when "debug" =>
when "debug" =>
for Default_Switches ("Ada") use ("-g", "-j" & Processors);
when others =>
for Default_Switches ("Ada") use ("-g", "-O2", "-j" & Processors);
@ -68,7 +68,7 @@ abstract project Config is
when "optimize" =>
for Default_Switches ("Ada") use ("-Wl,--gc-sections");
when others =>
null;
end case;
@ -79,8 +79,8 @@ abstract project Config is
("-fprofile-arcs");
when others =>
end case;
end linker;
end linker;
package Ide is
for VCS_Kind use "git";
end Ide;

View File

@ -13,7 +13,7 @@ abstract project Config is
package Builder is
case Mode is
when "debug" =>
when "debug" =>
for Default_Switches ("Ada") use ("-g", "-j" & Processors);
when others =>
for Default_Switches ("Ada") use ("-g", "-O2", "-j" & Processors);
@ -68,7 +68,7 @@ abstract project Config is
when "optimize" =>
for Default_Switches ("Ada") use ("-Wl,--gc-sections");
when others =>
null;
end case;
@ -79,8 +79,8 @@ abstract project Config is
("-fprofile-arcs");
when others =>
end case;
end linker;
end linker;
package Ide is
for VCS_Kind use "git";
end Ide;