diff options
author | Hugo Lima <hugo.lima@openbossa.org> | 2009-11-10 20:11:49 -0200 |
---|---|---|
committer | Hugo Lima <hugo.lima@openbossa.org> | 2009-11-10 20:14:32 -0200 |
commit | 2a4b5da2874b5c84fcb921116818d25e7abaa483 (patch) | |
tree | 546f4e8df64093dc7adae5c4590df20308c6518e /CMakeLists.txt | |
parent | a70b766aa905c608f05ff192e8f14420f26cffa9 (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.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index e6ef3f46b..312898da7 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) |