openssl: don't autodetect platform on armv6/7l

This commit is contained in:
Ben Wolsieffer 2018-05-19 12:51:30 -04:00
parent a8878f4aef
commit d3ba32e117

View File

@ -51,6 +51,8 @@ let
configureScript = {
"x86_64-darwin" = "./Configure darwin64-x86_64-cc";
"x86_64-solaris" = "./Configure solaris64-x86_64-gcc";
"armv6l-linux" = "./Configure linux-armv4 -march=armv6";
"armv7l-linux" = "./Configure linux-armv4 -march=armv7-a";
}.${stdenv.hostPlatform.system} or (
if stdenv.hostPlatform == stdenv.buildPlatform
then "./config"