aboutsummaryrefslogtreecommitdiffstats
path: root/host/CMakeLists.txt
diff options
context:
space:
mode:
authorNicholas Corgan <nick.corgan@ettus.com>2013-05-10 16:56:25 -0700
committerNicholas Corgan <nick.corgan@ettus.com>2013-05-10 16:56:25 -0700
commite0cbc2c1e472e7222c62b1abc1f49822ed4cad75 (patch)
treeb759ff659637192bc8f626743c5ab9bc434e2ef9 /host/CMakeLists.txt
parent6524f46bc54c36f8d50d6a3aa1c17aafb0a47d75 (diff)
parent7d0121fc7983322b5e34eec449b74a55e21a1678 (diff)
downloaduhd-e0cbc2c1e472e7222c62b1abc1f49822ed4cad75.tar.gz
uhd-e0cbc2c1e472e7222c62b1abc1f49822ed4cad75.tar.bz2
uhd-e0cbc2c1e472e7222c62b1abc1f49822ed4cad75.zip
Merge branch 'maint'
Diffstat (limited to 'host/CMakeLists.txt')
-rw-r--r--host/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/host/CMakeLists.txt b/host/CMakeLists.txt
index e79edc6be..3b2ce4297 100644
--- a/host/CMakeLists.txt
+++ b/host/CMakeLists.txt
@@ -84,6 +84,9 @@ SET(CMAKE_BUILD_TYPE "${CMAKE_BUILD_TYPE}" CACHE STRING "")
SET(UHD_RELEASE_MODE "${UHD_RELEASE_MODE}" CACHE STRING "UHD Release Mode")
IF(CMAKE_COMPILER_IS_GNUCXX)
+ IF(NOT CMAKE_BUILD_TYPE STREQUAL "Debug")
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -s")
+ ENDIF(NOT CMAKE_BUILD_TYPE STREQUAL "Debug")
ADD_DEFINITIONS(-Wall)
ADD_DEFINITIONS(-Wextra)
ADD_DEFINITIONS(-Wsign-compare)