revert 2011-04-03T08:21:47Z!crazy-ivanovic@gmx.net to fix bug #17988 introduced by this very commit...
This commit is contained in:
parent
5613b9fc8c
commit
fde02c868c
1 changed files with 2 additions and 2 deletions
|
@ -118,14 +118,14 @@ if(CMAKE_COMPILER_IS_GNUCXX)
|
|||
CACHE STRING "Flags used by the C compiler during normal builds." FORCE)
|
||||
set(CMAKE_C_FLAGS_DEBUG "-O0 -DDEBUG -ggdb3 -W -Wall -ansi $ENV{CFLAGS}"
|
||||
CACHE STRING "Flags used by the C compiler during debug builds." FORCE)
|
||||
set(CMAKE_C_FLAGS_RELEASE "-O3 -DNDEBUG -W -Wall -ansi $ENV{CFLAGS}"
|
||||
set(CMAKE_C_FLAGS_RELEASE "-O3 -DNDEBUG -W -Wall -ansi $ENV{CFLAGS} -Wno-unused"
|
||||
CACHE STRING "Flags used by the C compiler during release builds." FORCE)
|
||||
|
||||
set(CMAKE_CXX_FLAGS "-O2 -W -Wall -std=c++98 ${STRICT_FLAGS} $ENV{CXXFLAGS}"
|
||||
CACHE STRING "Flags used by the CXX compiler during normal builds." FORCE)
|
||||
set(CMAKE_CXX_FLAGS_DEBUG "-O0 -DDEBUG -ggdb3 -W -Wall -std=c++98 ${STRICT_FLAGS} $ENV{CXXFLAGS}"
|
||||
CACHE STRING "Flags used by the CXX compiler during debug builds." FORCE)
|
||||
set(CMAKE_CXX_FLAGS_RELEASE "-O3 -DNDEBUG -W -Wall -std=c++98 ${STRICT_FLAGS} $ENV{CXXFLAGS}"
|
||||
set(CMAKE_CXX_FLAGS_RELEASE "-O3 -DNDEBUG -W -Wall -std=c++98 ${STRICT_FLAGS} $ENV{CXXFLAGS} -Wno-unused"
|
||||
CACHE STRING "Flags used by the CXX compiler during release builds." FORCE)
|
||||
|
||||
endif(NOT CONFIGURED)
|
||||
|
|
Loading…
Add table
Reference in a new issue