openbsd-ports/devel/yaml-cpp/patches/patch-CMakeLists_txt
ajacoutot d0428136b7 Import yaml-cpp-0.2.6.
YAML parser and emitter in C++ matching the YAML 1.2 spec.

from Antti Harri with some tweaks.
ok jasper@
2011-05-11 16:55:30 +00:00

15 lines
505 B
Plaintext

$OpenBSD: patch-CMakeLists_txt,v 1.1.1.1 2011/05/11 16:55:30 ajacoutot Exp $
--- CMakeLists.txt.orig Wed May 11 18:40:31 2011
+++ CMakeLists.txt Wed May 11 18:41:06 2011
@@ -122,8 +122,8 @@ if(CMAKE_COMPILER_IS_GNUCXX)
set(CMAKE_BUILD_TYPE Release)
endif()
#
- set(CMAKE_CXX_FLAGS_RELEASE "-O2")
- set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O2 -g")
+ set(CMAKE_CXX_FLAGS_RELEASE "")
+ set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-g")
set(CMAKE_CXX_FLAGS_DEBUG "-g")
set(CMAKE_CXX_FLAGS_MINSIZEREL "-Os")
#