[Avida-SVN] r2104 - branches/dkdev

dknoester at myxo.css.msu.edu dknoester at myxo.css.msu.edu
Mon Sep 24 17:07:16 PDT 2007


Author: dknoester
Date: 2007-09-24 20:07:16 -0400 (Mon, 24 Sep 2007)
New Revision: 2104

Modified:
   branches/dkdev/CMakeLists.txt
Log:
Build fixes for this dkdev on the HPC.

Modified: branches/dkdev/CMakeLists.txt
===================================================================
--- branches/dkdev/CMakeLists.txt	2007-09-24 23:38:36 UTC (rev 2103)
+++ branches/dkdev/CMakeLists.txt	2007-09-25 00:07:16 UTC (rev 2104)
@@ -52,16 +52,16 @@
   # - release (Release)
   # - release with debug info (RelWithDebInfo)
   SET(CMAKE_CXX_FLAGS_DEBUG
-    "-g ${COMPILER_WARNING_FLAGS} -DDEBUG"
+    "-m32 -g ${COMPILER_WARNING_FLAGS} -DDEBUG"
     CACHE STRING "Flags used by the compiler during debug builds." FORCE)
   SET(CMAKE_CXX_FLAGS_MINSIZEREL
-    "-Os -DNDEBUG"
+    "-m32 -DNDEBUG"
     CACHE STRING "Flags used by the compiler during release minsize builds." FORCE)
   SET(CMAKE_CXX_FLAGS_RELWITHDEBINFO
-    "-O2 -ffast-math -g ${COMPILER_WARNING_FLAGS} -DDEBUG"
+    "-m32 -g ${COMPILER_WARNING_FLAGS} -DDEBUG"
     CACHE STRING "Flags used by the compiler during release builds." FORCE)
   SET(CMAKE_CXX_FLAGS_RELEASE
-    "-O3 -ffast-math -DNDEBUG"
+    "-m32 -DNDEBUG"
     CACHE STRING "Flags used by the compiler during release builds." FORCE)
 
   # Four types of c compilations:
@@ -70,16 +70,16 @@
   # - release (Release)
   # - release with debug info (RelWithDebInfo)
   SET(CMAKE_C_FLAGS_DEBUG
-    "-g ${COMPILER_WARNING_FLAGS} -DDEBUG"
+    "-m32 -g ${COMPILER_WARNING_FLAGS} -DDEBUG"
     CACHE STRING "Flags used by the compiler during debug builds." FORCE)
   SET(CMAKE_C_FLAGS_MINSIZEREL
-    "-Os -DNDEBUG"
+    "-m32 -DNDEBUG"
     CACHE STRING "Flags used by the compiler during release minsize builds." FORCE)
   SET(CMAKE_C_FLAGS_RELEASE
-    "-O3 -ffast-math -DNDEBUG"
+    "-m32 -DNDEBUG"
     CACHE STRING "Flags used by the compiler during release builds." FORCE)
   SET(CMAKE_C_FLAGS_RELWITHDEBINFO
-    "-O2 -ffast-math -g ${COMPILER_WARNING_FLAGS} -DDEBUG"
+    "-m32 -g ${COMPILER_WARNING_FLAGS} -DDEBUG"
     CACHE STRING "Flags used by the compiler during release builds." FORCE)
 
   # By default, show all build commands.




More information about the Avida-cvs mailing list