summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorHugo Lima <hugo.lima@openbossa.org>2009-11-10 20:11:49 -0200
committerHugo Lima <hugo.lima@openbossa.org>2009-11-10 20:14:32 -0200
commit2a4b5da2874b5c84fcb921116818d25e7abaa483 (patch)
tree546f4e8df64093dc7adae5c4590df20308c6518e /CMakeLists.txt
parenta70b766aa905c608f05ff192e8f14420f26cffa9 (diff)
Just disable the warning about strict-aliasing instead of disable the optimization.
Reviewed by Marcelo Lira <marcelo.lira@openssa.org>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e6ef3f46..312898da 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -4,7 +4,7 @@ project(pyside)
cmake_minimum_required(VERSION 2.6)
-set(CMAKE_CXX_FLAGS_RELEASE "-Wall -DNDEBUG -Os -Wl,-O1 -Wl,--hash-style=gnu -fno-strict-aliasing")
+set(CMAKE_CXX_FLAGS_RELEASE "-Wall -DNDEBUG -Os -Wl,-O1 -Wl,--hash-style=gnu -Wno-strict-aliasing")
set(CMAKE_CXX_FLAGS_DEBUG "-g -fno-common -Wall -fno-strict-aliasing")
find_package(PythonLibs REQUIRED)