svn commit: r480029 - head/security/libargon2
Thomas Zander
riggs at FreeBSD.org
Tue Sep 18 15:08:54 UTC 2018
Author: riggs
Date: Tue Sep 18 15:08:52 2018
New Revision: 480029
URL: https://svnweb.freebsd.org/changeset/ports/480029
Log:
Fix runtime error: remove -march=native as optimisation target
Details:
The upstream Makefile contains -march=native as optimisation which leads
to unconditional use of AVX instructions if built on a machine that has
AVX support. Subsequently this causes SIGILL on processors without AVX,
including latest-generation Atom descendants.
PR: 225922
Reported by: arthur at qeng-ho.org
Approved by: hsw at bitmark.com (maintainer, implicit)
MFH: 2018Q3
Modified:
head/security/libargon2/Makefile
Modified: head/security/libargon2/Makefile
==============================================================================
--- head/security/libargon2/Makefile Tue Sep 18 14:53:04 2018 (r480028)
+++ head/security/libargon2/Makefile Tue Sep 18 15:08:52 2018 (r480029)
@@ -3,6 +3,7 @@
PORTNAME= libargon2
PORTVERSION= 20171227
+PORTREVISION= 1
CATEGORIES= security devel
MAINTAINER= hsw at bitmark.com
@@ -20,7 +21,8 @@ GH_PROJECT= phc-winner-argon2
MAKE_JOBS_UNSAFE= yes
LIBARGON2= libargon2.so.0
-MAKE_ARGS+= SO_LDFLAGS="-shared -Wl,-soname=${LIBARGON2}"
+MAKE_ARGS+= SO_LDFLAGS="-shared -Wl,-soname=${LIBARGON2}" \
+ OPTTARGET="generic"
# remove multiarch as this is only for Linux
SUBST= s/@HOST_MULTIARCH@//g;
More information about the svn-ports-head
mailing list