[Orxonox-commit 579] r3111 - trunk/cmake
rgrieder at orxonox.net
rgrieder at orxonox.net
Tue Jun 2 20:31:14 CEST 2009
Author: rgrieder
Date: 2009-06-02 20:31:14 +0200 (Tue, 02 Jun 2009)
New Revision: 3111
Modified:
trunk/cmake/BuildConfigGCC.cmake
Log:
REMOVE_COMPILER_FLAGS makes no sense here. This fixes some gcc warning about unconformant code that may break due to optimisations.
Modified: trunk/cmake/BuildConfigGCC.cmake
===================================================================
--- trunk/cmake/BuildConfigGCC.cmake 2009-06-02 17:38:48 UTC (rev 3110)
+++ trunk/cmake/BuildConfigGCC.cmake 2009-06-02 18:31:14 UTC (rev 3111)
@@ -56,7 +56,7 @@
ENDIF()
# We have some uncoformant code, disable an optimisation feature
-REMOVE_COMPILER_FLAGS("-fno-strict-aliasing" CACHE)
+ADD_COMPILER_FLAGS("-fno-strict-aliasing" CACHE)
# For GCC older than version 4, do not display sign compare warings
# because of boost::filesystem (which creates about a hundred per include)
More information about the Orxonox-commit
mailing list