[Bug 191901] security/p5-Crypt-SSLeay 0.72 fails to build with CC=clang in /etc/make.conf

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Jul 17 10:10:20 UTC 2014


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191901

--- Comment #1 from Trond.Endrestol at 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.


More information about the freebsd-ports-bugs mailing list