From 64943907132756bf89282d32471576d90f2037cc Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Mon, 12 Jul 2021 19:53:43 +0300 Subject: [PATCH] openssl: Fix build with clang. See #278 --- core/openssl/build | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/core/openssl/build b/core/openssl/build index 65bd344e..6c1dd145 100755 --- a/core/openssl/build +++ b/core/openssl/build @@ -1,5 +1,9 @@ #!/bin/sh -e +# Build with CC for clang compatibility. +# If CC is unset, GCC is forced. +export CC="${CC:-cc}" + ./Configure \ --prefix=/usr \ --openssldir=/etc/ssl \ @@ -9,7 +13,7 @@ linux-x86_64 make depend -make +make V=1 make DESTDIR="$1" \ install_sw \