pysics.box2d.library: Add "-O2" flags to compile switches.
This commit is contained in:
@@ -21,7 +21,9 @@ is
|
|||||||
end Naming;
|
end Naming;
|
||||||
|
|
||||||
package Compiler is
|
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 Compiler;
|
||||||
|
|
||||||
end Box2d_contrib;
|
end Box2d_contrib;
|
||||||
|
|||||||
@@ -23,7 +23,8 @@ is
|
|||||||
package Binder renames Lace_shared.Binder;
|
package Binder renames Lace_shared.Binder;
|
||||||
|
|
||||||
package Compiler is
|
package Compiler is
|
||||||
for Default_Switches ("c++") use ("-g",
|
for Default_Switches ("c++") use ("-g",
|
||||||
|
"-O2",
|
||||||
"-Wno-return-type-c-linkage",
|
"-Wno-return-type-c-linkage",
|
||||||
"-I../../../c_math/source/c",
|
"-I../../../c_math/source/c",
|
||||||
"-I../../contrib/include");
|
"-I../../contrib/include");
|
||||||
|
|||||||
@@ -22,7 +22,8 @@ is
|
|||||||
end Naming;
|
end Naming;
|
||||||
|
|
||||||
package Compiler is
|
package Compiler is
|
||||||
for Default_Switches ("c++") use ("-g",
|
for Default_Switches ("c++") use ("-g",
|
||||||
|
"-O2",
|
||||||
"-fPIC",
|
"-fPIC",
|
||||||
"-I../../../c_math/source/c",
|
"-I../../../c_math/source/c",
|
||||||
"-Wno-return-type-c-linkage");
|
"-Wno-return-type-c-linkage");
|
||||||
|
|||||||
Reference in New Issue
Block a user