From dc0a3a665342632673b9d7da6f91121b3dc0b88f Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sun, 18 May 2008 17:46:45 -0700 Subject: [PATCH] Remove -fno-strict-aliasing as the code should be safe, now --- CMakeLists.txt | 7 ------- 1 file changed, 7 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index f1c38727..363c7974 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -76,13 +76,6 @@ ELSE() "Flags used by the compiler during debug builds." FORCE) - # The mixer doesn't like GCC's strict aliasing optimizations. Make sure - # it's turned off - CHECK_C_COMPILER_FLAG(-fstrict-aliasing HAVE_STRICT_ALIASING) - IF("${HAVE_STRICT_ALIASING}") - ADD_DEFINITIONS(-fno-strict-aliasing) - ENDIF() - # Set visibility options if available IF(NOT WIN32) CHECK_C_SOURCE_COMPILES("int foo() __attribute__((destructor)); -- 2.11.4.GIT