Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Jul 2014 10:10:20 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 191901] security/p5-Crypt-SSLeay 0.72 fails to build with CC=clang in /etc/make.conf
Message-ID:  <bug-191901-13-1MnvMKc5NR@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-191901-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-191901-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191901

--- Comment #1 from Trond.Endrestol@ximalas.info ---
On stable/10 and head I'm in the (bad?) habit of specifying CPYTYPE?=corei7 in
/etc/make.conf, which is acceptable for clang, but not for gcc, at least not
for /usr/bin/gcc, as gcc rejects -march=corei7 and -mtune=corei7 when run as
part of a test compilation done by the Makefile.PL file.

I'm also in the (equally bad?) habit of specifying WITH_GCC=yes and
WITH_GNUCXX=yes in /etc/src.conf.

Thus my reason to force the selection of clang as the compiler for
security/p5-Crypt-SSLeay.

Maybe it's simply my fault. I don't know if setting CPUTYPE in /etc/make.conf
is discouraged. Maybe CPUTYPE should be moved to /etc/src.conf.

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-191901-13-1MnvMKc5NR>