projects
/
platform
/
upstream
/
zypper.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de26a4f
)
Use -Wall -Woverloaded-virtual -fstack-protector
BASE-SuSE-Linux-10_3-Branch
author
Michael Andres
<ma@suse.de>
Mon, 24 Sep 2007 09:31:43 +0000
(09:31 +0000)
committer
Michael Andres
<ma@suse.de>
Mon, 24 Sep 2007 09:31:43 +0000
(09:31 +0000)
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index
3cd10cc
..
c56e42a
100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-6,6
+6,9
@@
INCLUDE( ${CMAKE_SOURCE_DIR}/VERSION.cmake )
SET( VERSION "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}" )
ADD_DEFINITIONS( -DVERSION=\\\"${VERSION}\\\" )
+SET( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -O2 -Wall -Woverloaded-virtual -fstack-protector" )
+SET( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -g -O2 -Wall -fstack-protector" )
+
# usr INSTALL_PREFIX
IF( DEFINED CMAKE_INSTALL_PREFIX )