diff --git a/thirdparty/libtommath.lua b/thirdparty/libtommath.lua index dc3189c57..08163de1a 100644 --- a/thirdparty/libtommath.lua +++ b/thirdparty/libtommath.lua @@ -29,6 +29,11 @@ function libtommath:project() location "%{wks.location}/thirdparty/%{prj.name}" kind "StaticLib" language "C" + + filter "configurations:Debug" + -- libtommath requires dead code elimination to work + optimize "On" + filter {} files { path.join(folder, "libtommath/*.h"),