qgpgme: build with -DQT_NO_DEBUG
qgpgme uses Q_ASSERT which causes build inputs to be retained unnecessarily at runtime unless debugging is disabled.
This commit is contained in:
parent
22b6a93fad
commit
5ba0dd1ad7
1 changed files with 5 additions and 2 deletions
|
@ -32,9 +32,12 @@ stdenv.mkDerivation rec {
|
|||
"--enable-fixed-path=${gnupg}/bin"
|
||||
];
|
||||
|
||||
# https://www.gnupg.org/documentation/manuals/gpgme/Largefile-Support-_0028LFS_0029.html
|
||||
NIX_CFLAGS_COMPILE =
|
||||
lib.optional (system == "i686-linux") "-D_FILE_OFFSET_BITS=64";
|
||||
# qgpgme uses Q_ASSERT which retains build inputs at runtime unless
|
||||
# debugging is disabled
|
||||
lib.optional (qtbase != null) "-DQT_NO_DEBUG"
|
||||
# https://www.gnupg.org/documentation/manuals/gpgme/Largefile-Support-_0028LFS_0029.html
|
||||
++ lib.optional (system == "i686-linux") "-D_FILE_OFFSET_BITS=64";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://gnupg.org/software/gpgme/index.html;
|
||||
|
|
Loading…
Reference in a new issue