Author: mlandres Date: Mon Sep 24 11:31:43 2007 New Revision: 7337 URL: http://svn.opensuse.org/viewcvs/zypp?rev=7337&view=rev Log: Use -Wall -Woverloaded-virtual -fstack-protector Modified: trunk/zypper/CMakeLists.txt Modified: trunk/zypper/CMakeLists.txt URL: http://svn.opensuse.org/viewcvs/zypp/trunk/zypper/CMakeLists.txt?rev=7337&r1=7336&r2=7337&view=diff ============================================================================== --- trunk/zypper/CMakeLists.txt (original) +++ trunk/zypper/CMakeLists.txt Mon Sep 24 11:31:43 2007 @@ -6,6 +6,9 @@ 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 ) -- To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org