Date: Sun, 26 Aug 2018 11:11:02 +0000 (UTC) From: Mahdi Mokhtari <mmokhi@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r478120 - head/archivers/p7zip Message-ID: <201808261111.w7QBB2tw080147@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mmokhi Date: Sun Aug 26 11:11:02 2018 New Revision: 478120 URL: https://svnweb.freebsd.org/changeset/ports/478120 Log: archivers/p7zip: Fix build with lld as /usr/bin/ld on i386 PR: 230210 Reported by: emaste Reviewed by: mat, rakuco, tobik Approved by: rakuco (maintainer) Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D16813 Modified: head/archivers/p7zip/Makefile Modified: head/archivers/p7zip/Makefile ============================================================================== --- head/archivers/p7zip/Makefile Sun Aug 26 11:09:38 2018 (r478119) +++ head/archivers/p7zip/Makefile Sun Aug 26 11:11:02 2018 (r478120) @@ -3,7 +3,7 @@ PORTNAME= p7zip PORTVERSION= 16.02 -PORTREVISION?= 1 +PORTREVISION?= 2 CATEGORIES= archivers MASTER_SITES= SF DISTNAME= ${PORTNAME}_${DISTVERSION}_src_all @@ -25,8 +25,14 @@ CFLAGS_armv6= -fPIC CFLAGS_armv7= -fPIC CFLAGS_aarch64= -fPIC CFLAGS_amd64= -fPIC +CFLAGS_i386= -fPIC CFLAGS_powerpc= -fPIC CFLAGS_sparc64= -fPIC + +# Fix the build for i386 when WITH_LLD_IS_LD is set +# https://bugs.freebsd.org/230210 +LDFLAGS+= ${LDFLAGS_${ARCH}} +LDFLAGS_i386= -Wl,-z,notext OPTIONS_DEFINE= DOCS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201808261111.w7QBB2tw080147>