diff --git a/openssl-1.1/riscv64.patch b/openssl-1.1/riscv64.patch index 56dd47210..2ed430e68 100644 --- a/openssl-1.1/riscv64.patch +++ b/openssl-1.1/riscv64.patch @@ -1,15 +1,15 @@ --- PKGBUILD +++ PKGBUILD @@ -34,7 +34,7 @@ build() { + cd "$srcdir/$_pkgname-$_ver" - # mark stack as non-executable: http://bugs.archlinux.org/task/12434 ./Configure --prefix=/usr --openssldir=/etc/ssl --libdir=lib/openssl-1.1 \ -- shared no-ssl3-method enable-ec_nistp_64_gcc_128 linux-x86_64 \ -+ shared no-ssl3-method enable-ec_nistp_64_gcc_128 linux-generic64 \ - "-Wa,--noexecstack ${CPPFLAGS} ${CFLAGS} ${LDFLAGS}" +- shared no-ssl3-method enable-ec_nistp_64_gcc_128 linux-x86_64 ++ shared no-ssl3-method enable-ec_nistp_64_gcc_128 linux-generic64 make depend -@@ -48,7 +48,8 @@ check() { + make +@@ -47,7 +47,8 @@ check() { # revert this patch for make test patch -p0 -R -i "$srcdir/ca-dir.patch"