[Avida-SVN] r2100 - development

brysonda at myxo.css.msu.edu brysonda at myxo.css.msu.edu
Fri Sep 21 09:45:25 PDT 2007


Author: brysonda
Date: 2007-09-21 12:45:24 -0400 (Fri, 21 Sep 2007)
New Revision: 2100

Modified:
   development/CMakeLists.txt
Log:
GCC visibility flag exposes bugs in certain versions of GCC that cause linker failures (specifically observed under Ubuntu with GCC 4.1.2).  Removed the flag for compatibility.

Modified: development/CMakeLists.txt
===================================================================
--- development/CMakeLists.txt	2007-09-20 11:45:38 UTC (rev 2099)
+++ development/CMakeLists.txt	2007-09-21 16:45:24 UTC (rev 2100)
@@ -35,7 +35,7 @@
     SET(COMPILER_OPTIMIZATION_FLAGS "-ffast-math -fno-rtti -funroll-loops -fstrict-aliasing -OPT:Olimit=0")
   ELSE (CMAKE_CXX_COMPILER MATCHES ".*pathCC.*")
     SET(COMPILER_WARNING_FLAGS "-Wextra -Wno-unknown-pragmas -Wconversion -Wno-trigraphs")
-    SET(COMPILER_OPTIMIZATION_FLAGS "-ffast-math -fno-rtti -funroll-loops -fstrict-aliasing -ftree-vectorize -fvisibility-inlines-hidden")
+    SET(COMPILER_OPTIMIZATION_FLAGS "-ffast-math -fno-rtti -funroll-loops -fstrict-aliasing -ftree-vectorize")
   ENDIF (CMAKE_CXX_COMPILER MATCHES ".*pathCC.*")
 
   INCLUDE(CheckCSourceCompiles)




More information about the Avida-cvs mailing list