Merge pull request #28855 from danielfullmer/john-compile-fix

john: workaroud for build failure
This commit is contained in:
Michael Raskin 2017-09-01 21:55:28 +02:00 committed by GitHub
commit cc44675dfc

View file

@ -26,7 +26,13 @@ stdenv.mkDerivation rec {
}' run/*.conf
'';
preConfigure = "cd src";
preConfigure = ''
cd src
# Makefile.in depends on AS and LD being set to CC, which is set by default in configure.ac.
# This ensures we override the environment variables set in cc-wrapper/setup-hook.sh
export AS=$CC
export LD=$CC
'';
configureFlags = [ "--disable-native-macro" ];
buildInputs = [ openssl nss nspr kerberos gmp zlib libpcap re2 gcc ];