diff -up stellarium-0.9.1/CMakeLists.txt.cm stellarium-0.9.1/CMakeLists.txt --- stellarium-0.9.1/CMakeLists.txt.cm 2008-01-17 15:15:42.000000000 +0100 +++ stellarium-0.9.1/CMakeLists.txt 2008-01-22 15:58:51.000000000 +0100 @@ -20,8 +20,8 @@ IF(${CMAKE_SYSTEM_NAME} MATCHES "Darwin" ENDIF(${CMAKE_SYSTEM_NAME} MATCHES "Darwin") IF(UNIX AND NOT WIN32) - SET(CMAKE_C_FLAGS -Wall) # additional C compile flags - SET(CMAKE_CXX_FLAGS -Wall) # additional CPP compile flags + SET(CMAKE_C_FLAGS ${CMAKE_C_FLAGS}) # additional C compile flags + SET(CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS}) # additional CPP compile flags ELSE(UNIX AND NOT WIN32) SET(CMAKE_C_FLAGS "-Wall -fexceptions -fident -mthreads") SET(CMAKE_CXX_FLAGS "-Wall -Wsign-promo -fexceptions -fident -mthreads")