void-packages/srcpkgs/musikcube/patches/no-strip.patch
2020-04-14 17:00:02 +02:00

17 lines
640 B
Diff

Musikcube does some stripping which breaks with a custom build directory,
also not necessary as we do stripping ourselves
diff --git CMakeLists.txt CMakeLists.txt
index 063e09f718..0d3fe883e9 100644
--- CMakeLists.txt
+++ CMakeLists.txt
@@ -354,9 +354,3 @@ endif()
# they don't yet exist!
add_custom_target(postbuild ALL DEPENDS musikcube musikcubed)
add_custom_command(TARGET postbuild POST_BUILD COMMAND cmake .)
-
-# strip binaries in release mode
-if (CMAKE_BUILD_TYPE MATCHES Release)
- message(STATUS "stripping binaries...")
- add_custom_command(TARGET postbuild POST_BUILD COMMAND "${CMAKE_SOURCE_DIR}/strip-nix.sh")
-endif()