diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /games-engines/stratagus/files/stratagus-2.3.0-debug.patch |
reinit the tree, so we can have metadata
Diffstat (limited to 'games-engines/stratagus/files/stratagus-2.3.0-debug.patch')
-rw-r--r-- | games-engines/stratagus/files/stratagus-2.3.0-debug.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/games-engines/stratagus/files/stratagus-2.3.0-debug.patch b/games-engines/stratagus/files/stratagus-2.3.0-debug.patch new file mode 100644 index 000000000000..41817865c577 --- /dev/null +++ b/games-engines/stratagus/files/stratagus-2.3.0-debug.patch @@ -0,0 +1,19 @@ +From: Julian Ospald <hasufell@gentoo.org> +Date: Thu Oct 18 14:31:37 UTC 2012 +Subject: build-system + +do not rename the target if debug is enabled + +--- stratagus_2.2.7.orig/CMakeLists.txt ++++ stratagus_2.2.7.orig/CMakeLists.txt +@@ -911,10 +911,6 @@ + add_executable(stratagus WIN32 ${stratagus_SRCS} ${stratagus_HDRS}) + target_link_libraries(stratagus ${stratagus_LIBS}) + +-if(CMAKE_BUILD_TYPE STREQUAL "Debug") +- set_target_properties(stratagus PROPERTIES OUTPUT_NAME stratagus-dbg) +-endif() +- + if(WIN32 AND MINGW AND ENABLE_STATIC) + set_target_properties(stratagus PROPERTIES LINK_FLAGS "${LINK_FLAGS} -static-libgcc -static-libstdc++ -Wl,--stack,10485760") + endif() |