Date: Fri, 02 Oct 2015 01:39:07 +0200 From: =?UTF-8?Q?Jos=C3=A9_P=C3=A9rez?= <fbl@aoek.com> To: freebsd-ports@freebsd.org, freebsd-arm@freebsd.org Subject: Uses/compiler.mk does not trigger under RBPi Message-ID: <bfe1c24f878ca90245680b2cfae1f6d2@mail.yourbox.net>
index | next in thread | raw e-mail
Hi,
I've notice that Uses/compiler.mk is not triggered and as a consequence
does to set COMPILER_TYPE.
me@raspberry-pi:~ % cat Makefile
all:
@${ECHO_CMD} ${LOCALBASE}
@${ECHO_CMD} ${COMPILER_TYPE}
.include <bsd.port.mk>
me@raspberry-pi:~ % make
/usr/local
me@raspberry-pi:~ %
As a result building ports is a nightmare.
Note how in AMD64 it works:
me@amd64:~ % make
/usr/local
clang
me@amd64:~ %
As a workaround I set COMPILER_TYPE=clang in /etc/make.conf but this is
just an ugly hack.
Can some expert trow a little light on this? Thank you.
Regards,
--
José Pérez
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bfe1c24f878ca90245680b2cfae1f6d2>
