Date: Fri, 2 Oct 2015 20:54:48 -0700 From: Tim Kientzle <tim@kientzle.com> To: =?utf-8?Q?Jos=C3=A9_P=C3=A9rez?= <fbl@aoek.com> Cc: Michelle Sullivan <michelle@sorbs.net>, freebsd-arm@freebsd.org, freebsd-ports@freebsd.org Subject: Re: Uses/compiler.mk does not trigger under RBPi Message-ID: <DFD12B43-04A2-433E-A79B-0C7C15BC44B2@kientzle.com> In-Reply-To: <c5f4ab0adc751410b8205e6f3aedda57@mail.yourbox.net> References: <bfe1c24f878ca90245680b2cfae1f6d2@mail.yourbox.net> <560DCFD7.30509@sorbs.net> <c5f4ab0adc751410b8205e6f3aedda57@mail.yourbox.net>
next in thread | previous in thread | raw e-mail | index | archive | help
What specific ports are you having trouble with? Tim > On Oct 2, 2015, at 2:56 PM, Jos=C3=A9 P=C3=A9rez <fbl@aoek.com> wrote: >=20 > Hi Michelle, > thank you for your suggestion. Is this another workaround? >=20 > I mean: many port Makefiles are affected, in the sense that when built = on Intel/AMD the ports just work because Uses/compiler.mk is sucked in = automatically, but it is not on ARM. >=20 > So, shall I report a bug on all the ports that use COMPILER_TYPE, or = is there a way to have ARM trigger Uses/compiler.mk? >=20 > Thank you. >=20 > Regards, >=20 >=20 > --- > Jos=C3=A9 P=C3=A9rez >=20 > El 2015-10-02 02:29, Michelle Sullivan escribi=C3=B3: >> Jos=C3=A9 P=C3=A9rez 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=3Dclang 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+=3D compiler >> to the makefile first... >> (and it still has some issues but that should solve the first) > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DFD12B43-04A2-433E-A79B-0C7C15BC44B2>