Commit 5644e2ed authored by lyxell's avatar lyxell Committed by GitHub

Merge pull request #591 from jam7/update/openssl-aarch64

Add "no-asm" option for the case of aarch64
parents 7cb66373 b751cd69
...@@ -10,7 +10,11 @@ class Openssl < Package ...@@ -10,7 +10,11 @@ class Openssl < Package
depends_on 'zlibpkg' depends_on 'zlibpkg'
def self.build def self.build
system "./config", "--prefix=/usr/local", "--openssldir=/etc/ssl", "shared", "zlib-dynamic" options="shared zlib-dynamic"
if `uname -m`.strip == 'aarch64'
options = options + " no-asm"
end
system "./config --prefix=/usr/local --openssldir=/etc/ssl #{options}"
system "make" system "make"
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment