Date: Tue, 18 Sep 2018 15:08:53 +0000 (UTC) From: Thomas Zander <riggs@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r480029 - head/security/libargon2 Message-ID: <201809181508.w8IF8rEr076946@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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@qeng-ho.org Approved by: hsw@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@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?201809181508.w8IF8rEr076946>