[Orxonox-commit 2821] r7524 - code/branches/ois_update/cmake

rgrieder at orxonox.net rgrieder at orxonox.net
Mon Oct 11 22:39:59 CEST 2010


Author: rgrieder
Date: 2010-10-11 22:39:58 +0200 (Mon, 11 Oct 2010)
New Revision: 7524

Modified:
   code/branches/ois_update/cmake/CompilerConfigGCC.cmake
Log:
Postponing -march options for later.
There are too many possible issues with it.

Modified: code/branches/ois_update/cmake/CompilerConfigGCC.cmake
===================================================================
--- code/branches/ois_update/cmake/CompilerConfigGCC.cmake	2010-10-11 10:58:59 UTC (rev 7523)
+++ code/branches/ois_update/cmake/CompilerConfigGCC.cmake	2010-10-11 20:39:58 UTC (rev 7524)
@@ -70,10 +70,11 @@
 ENDIF()
 
 # Use SSE if possible
-CHECK_CXX_COMPILER_FLAG(-msse _gcc_have_sse)
-IF(_gcc_have_sse)
-  ADD_COMPILER_FLAGS("-msse" CACHE)
-ENDIF()
+# Commented because this might not work for cross compiling
+#CHECK_CXX_COMPILER_FLAG(-msse _gcc_have_sse)
+#IF(_gcc_have_sse)
+#  ADD_COMPILER_FLAGS("-msse" CACHE)
+#ENDIF()
 
 IF(FALSE AND NOT MINGW)
   # Have GCC visibility?




More information about the Orxonox-commit mailing list