summaryrefslogtreecommitdiffstats
path: root/cmake/config.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/config.cmake')
-rw-r--r--cmake/config.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/config.cmake b/cmake/config.cmake
index 60ddeff..8fc1e95 100644
--- a/cmake/config.cmake
+++ b/cmake/config.cmake
@@ -42,8 +42,8 @@
### @endcond
################################################################################
-set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Werror -Wall -Os -ffunction-sections -fdata-sections")
-set(CMAKE_CXX_FLAGS "${CMAKE_C_FLAGS} -Werror -Wall -Os -ffunction-sections -fdata-sections")
+set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Werror -Wall -O3 -ffunction-sections -fdata-sections")
+set(CMAKE_CXX_FLAGS "${CMAKE_C_FLAGS} -Werror -Wall -O3 -ffunction-sections -fdata-sections")
# Remove default libraries to ensure cross compilng works as expected.
SET(CMAKE_C_IMPLICIT_LINK_LIBRARIES "")
OpenPOWER on IntegriCloud