summaryrefslogtreecommitdiff
path: root/utils/CMakeLists.txt
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2022-02-19 20:14:57 +0100
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2022-02-28 20:37:32 +0100
commit83e4078d9c9902ee184955817a0fae0320a54b53 (patch)
tree3eed0029120141a8d0b299741ae3204f5c9fbd77 /utils/CMakeLists.txt
parent72904569e3314a294c047f3255535590a4aaffe1 (diff)
downloadrockbox-83e4078d9c9902ee184955817a0fae0320a54b53.tar.gz
rockbox-83e4078d9c9902ee184955817a0fae0320a54b53.zip
cmake: Strip Release binaries when building with gcc.
Change-Id: Iaf87d6b65a38b6d0ecb66c5cb8bc7164741d7419
Diffstat (limited to 'utils/CMakeLists.txt')
-rw-r--r--utils/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/CMakeLists.txt b/utils/CMakeLists.txt
index 6aa419ada2..fbf7ad45ae 100644
--- a/utils/CMakeLists.txt
+++ b/utils/CMakeLists.txt
@@ -35,6 +35,7 @@ if (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
35 endif() 35 endif()
36elseif (CMAKE_CXX_COMPILER_ID STREQUAL "GNU") 36elseif (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
37 add_compile_options(-Wall -Wextra) 37 add_compile_options(-Wall -Wextra)
38 add_link_options($<$<CONFIG:RELEASE>:-s>)
38endif() 39endif()
39 40
40 41