void-packages/srcpkgs/masterpassword-cli/patches/fix-cflags.patch
2021-03-29 22:31:02 +07:00

13 lines
564 B
Diff

Index: platform-independent/cli-c/CMakeLists.txt
===================================================================
--- platform-independent/cli-c/CMakeLists.txt.orig
+++ 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 )