Date: Fri, 02 Oct 2015 02:29:11 +0200 From: Michelle Sullivan <michelle@sorbs.net> To: =?UTF-8?B?Sm9zw6kgUMOpcmV6?= <fbl@aoek.com> Cc: freebsd-ports@freebsd.org, freebsd-arm@freebsd.org Subject: Re: Uses/compiler.mk does not trigger under RBPi Message-ID: <560DCFD7.30509@sorbs.net> In-Reply-To: <bfe1c24f878ca90245680b2cfae1f6d2@mail.yourbox.net>
index | next in thread | previous in thread | raw e-mail
José Pérez wrote:
> 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,
>
Try adding:
USES+= compiler
to the makefile first...
(and it still has some issues but that should solve the first)
--
Michelle Sullivan
http://www.mhix.org/
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?560DCFD7.30509>
