diff options
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() |