fix-flags.patch 748 B

12345678910111213141516171819
  1. Index: comar-3.0.0/CMakeLists.txt
  2. ===================================================================
  3. --- comar-3.0.0.orig/CMakeLists.txt
  4. +++ comar-3.0.0/CMakeLists.txt
  5. @@ -10,11 +10,11 @@ SET (APP_SUFFIX "3")
  6. # Uncomment this for production releases.
  7. SET (VERSION_SUFFIX "")
  8. -SET (FLAGS "-g -O0 -Werror -Wcast-align -Wno-uninitialized -Wall -fstrict-aliasing")
  9. +#SET (FLAGS "-g -O0 -Werror -Wcast-align -Wno-uninitialized -Wall -fstrict-aliasing")
  10. # Uncomment this for gprof profiling
  11. # SET (FLAGS "-g -O0 -Werror -Wcast-align -Wno-uninitialized -Wall -fstrict-aliasing -fprofile-arcs -ftest-coverage")
  12. -SET (CMAKE_C_FLAGS "${FLAGS}")
  13. +#SET (CMAKE_C_FLAGS "${FLAGS}")
  14. # Uncomment this for sparse building
  15. # SET (CMAKE_C_COMPILER cgcc)