Merge pull request #176716 from misuzu/gpgme-armv7l

gpgme: fix build on armv7l
This commit is contained in:
Sandro 2022-06-10 01:36:58 +02:00 committed by GitHub
commit 908fed8f7f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -104,7 +104,7 @@ stdenv.mkDerivation rec {
# 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"
++ lib.optional stdenv.hostPlatform.is32bit "-D_FILE_OFFSET_BITS=64"
);
doCheck = true;