commit 5acf102f12482750a3f33ae42cde5deca3af36a5 parent 5cec05087131256fd1bf4bb787eb5c3c4c9e97f7 Author: Michael Savage <mikejsavage@gmail.com> Date: Sun Jul 2 12:49:41 +0300 Enable optimisations for the preprocessor Diffstat:
make.lua | | | 2 | ++ |
diff --git a/make.lua b/make.lua @@ -60,6 +60,8 @@ if OS == "macos" then end bin( "pp", { "pp", "heightmap", common_objs }, { "lodepng", "lz4", "squish", "stb_image", "stb_image_write" } ) +gcc_obj_cxxflags( "pp", "-O2" ) +msvc_obj_cxxflags( "pp", "/O2" ) if OS == "linux" then bin( "utils/genkeys/genkeys", { "utils/genkeys/genkeys", common_objs }, { "monocypher" } )