Commit fcb0ccf2 authored by Mike Kremer's avatar Mike Kremer
Browse files

Reverted last changes.

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@13233 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 6c28b16d
......@@ -84,8 +84,8 @@ if (UNIX)
# Build/Release Defines
################################################################################
IF( NOT CMAKE_SYSTEM MATCHES "SunOS*")
list(APPEND ADDITIONAL_CXX_DEBUG_FLAGS "-DDEBUG -Wall -Wextra -Wno-long-long -Wunused -Wuninitialized" )
list(APPEND ADDITIONAL_CXX_RELEASE_FLAGS "-DNDEBUG -Wall -Wextra -Wno-long-long -Wunused -Wuninitialized" )
list(APPEND ADDITIONAL_CXX_DEBUG_FLAGS "-DDEBUG" )
list(APPEND ADDITIONAL_CXX_RELEASE_FLAGS "-DNDEBUG" )
list(APPEND ADDITIONAL_CXX_RELWITHDEBINFO_FLAGS "-DDEBUG" )
list(APPEND ADDITIONAL_C_DEBUG_FLAGS "-DDEBUG" )
......@@ -100,7 +100,7 @@ if (UNIX)
# Add the standard compiler warnings
if ( NOT COMPILER_WARNINGS )
IF( NOT CMAKE_SYSTEM MATCHES "SunOS*")
set ( COMPILER_WARNINGS "-W" "-Wall" "-Wno-unused" CACHE STRINGLIST "This list contains the warning flags used during compilation " )
set ( COMPILER_WARNINGS "-W" "-Wall" "-Wno-unused" CACHE STRINGLIST "This list contains the warning flags used during compilation " )
ELSE()
set ( COMPILER_WARNINGS "" CACHE STRINGLIST "This list contains the warning flags used during compilation " )
ENDIF()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment