Commit f988895c by Nicolas Capens

Optimize for size.

Change-Id: I7013a57ab7d6bc1916d0a87b72ae826409a34ee9 Reviewed-on: https://swiftshader-review.googlesource.com/4442Reviewed-by: 's avatarNicolas Capens <capn@google.com> Tested-by: 's avatarNicolas Capens <capn@google.com>
parent 5a105bc1
......@@ -148,9 +148,9 @@ else()
set_cpp_flag("-s" RELEASE)
# For distribution it is more important to be slim than super optimized
# so even in Release we us only -O2
set_cpp_flag("-O2" RELEASE)
set_cpp_flag("-O2" RELWITHDEBINFO)
# so even in Release we use only -O2
set_cpp_flag("-O2 -Os" RELEASE)
set_cpp_flag("-O2 -Os" RELWITHDEBINFO)
set_cpp_flag("-DNDEBUG" RELEASE)
set_cpp_flag("-DNDEBUG" RELWITHDEBINFO)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment