Date: Tue, 18 Sep 2018 15:10:04 +0000 (UTC) From: Thomas Zander <riggs@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r480031 - branches/2018Q3/security/libargon2 Message-ID: <201809181510.w8IFA44C077352@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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@qeng-ho.org Approved by: hsw@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@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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201809181510.w8IFA44C077352>