diff options
author | Lauro Neto <lauro.neto@openbossa.org> | 2009-09-21 14:15:42 -0300 |
---|---|---|
committer | Lauro Neto <lauro.neto@openbossa.org> | 2009-09-21 14:16:11 -0300 |
commit | aa12538d63685ef8f75adaa79411b751929b727d (patch) | |
tree | 85f800e9bb63758539f8bf1ffd4943a43d043989 | |
parent | 16ec70caa792ea8f97885954a9360cdaad72b076 (diff) |
Adding flag -fno-strict-aliasing
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index b4f3b625a..34019a311 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,8 +2,8 @@ project(pyside) cmake_minimum_required(VERSION 2.6) -set(CMAKE_CXX_FLAGS_RELEASE "-Wall -DNDEBUG -Os -Wl,-O1 -Wl,--hash-style=gnu") -set(CMAKE_CXX_FLAGS_DEBUG "-g -fno-common -Wall") +set(CMAKE_CXX_FLAGS_RELEASE "-Wall -DNDEBUG -Os -Wl,-O1 -Wl,--hash-style=gnu -fno-strict-aliasing") +set(CMAKE_CXX_FLAGS_DEBUG "-g -fno-common -Wall -fno-strict-aliasing") find_package(PythonLibs REQUIRED) find_package(PythonInterp REQUIRED) |