gpgme: fix build on i686-linux
commitda9c6a7744f3e0aad6677357bffb30cd7fe7d92c
authorThomas Tuegel <ttuegel@gmail.com>
dateMon 10 Oct 2016, 13:37 (10 years ago)
parentc4dd3d9
pkgs/development/libraries/gpgme/default.nix+3
@@ -28,6 +28,9 @@ stdenv.mkDerivation rec {
2828 "--enable-fixed-path=${gpgStorePath}/bin"
2929 ];
3030
31+ NIX_CFLAGS_COMPILE =
32+ with stdenv; lib.optional (system == "i686-linux") "-D_FILE_OFFSET_BITS=64";
33+
3134 meta = with stdenv.lib; {
3235 homepage = "http://www.gnupg.org/related_software/gpgme";
3336 description = "Library for making GnuPG easier to use";