[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [phonon/phonon4qt5] cmake: remove no-threadsafe-statics from here too. Boy, what a huge duplication
From: David Faure <faure () kde ! org>
Date: 2013-02-09 21:52:32
Message-ID: 20130209215232.9D45FA6091 () git ! kde ! org
[Download RAW message or body]
Git commit a741e180c7ad92fc1894c8900e427a95bc9b4804 by David Faure.
Committed on 09/02/2013 at 22:52.
Pushed by dfaure into branch 'phonon4qt5'.
remove no-threadsafe-statics from here too. Boy, what a huge duplication in this file.
M +0 -7 cmake/FindPhononInternal.cmake
http://commits.kde.org/phonon/a741e180c7ad92fc1894c8900e427a95bc9b4804
diff --git a/cmake/FindPhononInternal.cmake b/cmake/FindPhononInternal.cmake
index 471033d..fa0eb71 100644
--- a/cmake/FindPhononInternal.cmake
+++ b/cmake/FindPhononInternal.cmake
@@ -325,13 +325,6 @@ if (CMAKE_COMPILER_IS_GNUCXX)
macro_ensure_version("4.3.0" "${_gcc_version}" GCC_IS_NEWER_THAN_4_3)
endif (_gcc_version)
- # save a little by making local statics not threadsafe
- # ### do not enable it for older compilers, see
- # ### http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31806
- if (GCC_IS_NEWER_THAN_4_3)
- set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-threadsafe-statics")
- endif (GCC_IS_NEWER_THAN_4_3)
-
set(_GCC_COMPILED_WITH_BAD_ALLOCATOR FALSE)
if (GCC_IS_NEWER_THAN_4_1)
exec_program(${CMAKE_C_COMPILER} ARGS ${CMAKE_C_COMPILER_ARG1} -v OUTPUT_VARIABLE _gcc_alloc_info)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic