Merge "Enable compiler optimizations"
diff --git a/lossmin/CMakeLists.txt b/lossmin/CMakeLists.txt
index 5e7c071..35af7b7 100644
--- a/lossmin/CMakeLists.txt
+++ b/lossmin/CMakeLists.txt
@@ -1,7 +1,7 @@
 # Copyright 2017 The Fuchsia Authors. All rights reserved.
 # Use of this source code is governed by a BSD-style license that can be
 # found in the LICENSE file.
-SET (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-sign-compare")
+SET (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O3 -Wno-sign-compare")
 
 add_subdirectory(losses)
 add_subdirectory(minimizers)