svn commit: r492387 - head/cad/qcad

Mathieu Arnold mat at FreeBSD.org
Fri Feb 8 13:32:13 UTC 2019


On Thu, Feb 07, 2019 at 10:36:06PM +0000, Michael Reifenberger wrote:
> +.include <bsd.port.pre.mk>
> +
> +.if ${ARCH} == "i386"
> +CFLAGS_${ARCH}= -fPIC
> +CXXFLAGS_${ARCH}= -fPIC
> +.endif
> +

So, what this is doing, is setting

CFLAGS_i386= -fPIC
CXXFLAGS_i386= -fPIC

Only if the arch is i386.  As those variables are only ever used if the
arch is i386, maybe you could forego the test and always set the *_i386
variables. (And rollback the bsd.port.pre.mk change too)

-- 
Mathieu Arnold
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-ports-all/attachments/20190208/5f779179/attachment.sig>


More information about the svn-ports-all mailing list