svn commit: r480031 - branches/2018Q3/security/libargon2
Thomas Zander
riggs at FreeBSD.org
Tue Sep 18 15:10:05 UTC 2018
Author: riggs
Date: Tue Sep 18 15:10:04 2018
New Revision: 480031
URL: https://svnweb.freebsd.org/changeset/ports/480031
Log:
MFH: r480029
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)
Approved by: ports-secteam (riggs)
Modified:
branches/2018Q3/security/libargon2/Makefile
Directory Properties:
branches/2018Q3/ (props changed)
Modified: branches/2018Q3/security/libargon2/Makefile
==============================================================================
--- branches/2018Q3/security/libargon2/Makefile Tue Sep 18 15:09:10 2018 (r480030)
+++ branches/2018Q3/security/libargon2/Makefile Tue Sep 18 15:10:04 2018 (r480031)
@@ -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-branches
mailing list