From f23ad86d6f4fd10a902278d6f23c4c5412ad69d5 Mon Sep 17 00:00:00 2001 From: Matthew Bauer Date: Wed, 15 Jan 2020 13:16:10 -0500 Subject: [PATCH] =?UTF-8?q?openssl:=20don=E2=80=99t=20separate=20debug=20i?= =?UTF-8?q?nfo=20on=20useLLVM?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fixes #77779 --- pkgs/development/libraries/openssl/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/libraries/openssl/default.nix b/pkgs/development/libraries/openssl/default.nix index 3016f025e9d..0313e02484c 100644 --- a/pkgs/development/libraries/openssl/default.nix +++ b/pkgs/development/libraries/openssl/default.nix @@ -36,7 +36,7 @@ let outputs = [ "bin" "dev" "out" "man" ] ++ optional withDocs "doc"; setOutputFlags = false; - separateDebugInfo = stdenv.cc.isGNU; + separateDebugInfo = !(stdenv.hostPlatform.useLLVM or false) && stdenv.cc.isGNU; nativeBuildInputs = [ perl ]; buildInputs = stdenv.lib.optional withCryptodev cryptodev;