pysics.box2d.library: Add "-O2" flags to compile switches.

This commit is contained in:
Rod Kay
2025-05-24 04:57:47 +10:00
parent de6ab2d36e
commit 37efda89e4
3 changed files with 7 additions and 3 deletions

View File

@@ -21,7 +21,9 @@ is
end Naming;
package Compiler is
for Default_Switches ("c++") use ("-g", "-I../../contrib/include");
for Default_Switches ("c++") use ("-g",
"-O2",
"-I../../contrib/include");
end Compiler;
end Box2d_contrib;