void-packages/srcpkgs/masterpassword-cli/patches/fix-cflags.patch

14 lines
563 B
Diff

Index: platform-independent/cli-c/CMakeLists.txt
===================================================================
--- a/platform-independent/cli-c/CMakeLists.txt
+++ b/platform-independent/cli-c/CMakeLists.txt
@@ -15,8 +15,6 @@ option( BUILD_MPW_BENCH "C CLI M
option( BUILD_MPW_TESTS "C Master Password algorithm test suite (needs: mpw_sodium, mpw_xml)." OFF )
# Default build flags.
-set( CMAKE_BUILD_TYPE Release )
-set( CMAKE_C_FLAGS "-O3" )
# Version.
file( READ "VERSION" mpw_version )