Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Goetz <markus@woboq.com>2017-01-13 18:24:18 +0300
committerMarkus Goetz <markus@woboq.com>2017-01-17 16:52:10 +0300
commit85d3de15898385a06b2f34479e875c885e5df6be (patch)
tree0fa68c77d17a77c842c6339ca07718d1f929cced /src/cmd/CMakeLists.txt
parent588a88fb63f1a4265d180c3dabf668aeee6cf1d8 (diff)
Disable RTTI
Shrinks owncloud binary by 24 KB and libowncloudsync by 14 KB. I don't know if it has influence on memory usage or runtime speed though. Was worth a try.
Diffstat (limited to 'src/cmd/CMakeLists.txt')
-rw-r--r--src/cmd/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cmd/CMakeLists.txt b/src/cmd/CMakeLists.txt
index 4a0d76d71..8240cdeb2 100644
--- a/src/cmd/CMakeLists.txt
+++ b/src/cmd/CMakeLists.txt
@@ -1,6 +1,8 @@
project(cmd)
set(CMAKE_AUTOMOC TRUE)
+set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-rtti")
+
set(cmd_NAME ${APPLICATION_EXECUTABLE}cmd)
set(cmd_SRC
cmd.cpp