Date: Mon, 13 Jun 2016 15:15:47 -0700 From: "Simon J. Gerraty" <sjg@juniper.net> To: Bryan Drewery <bdrewery@FreeBSD.org> Cc: Mark Millard <markmi@dsl-only.net>, FreeBSD Current <freebsd-current@FreeBSD.org>, <sjg@juniper.net> Subject: Re: 11.0 -r301139: WITH_META_MODE=yes vs. "sh: ./make_keys: Exec format error"? [still true of -r301815] Message-ID: <53399.1465856147@kaos.jnpr.net> In-Reply-To: <6ab4f223-436b-dc13-f780-5f9a90262204@FreeBSD.org> References: <890D3808-1939-4BEA-886F-324EBA8C8671@dsl-only.net> <92116.1464890038@kaos.jnpr.net> <4a2034a9-a2e1-d951-aecf-43e043c48d75@FreeBSD.org> <55609B4E-DCC8-4666-BA15-17B6EF7D593F@dsl-only.net> <38443.1465735161@kaos.jnpr.net> <6ab4f223-436b-dc13-f780-5f9a90262204@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Bryan Drewery <bdrewery@FreeBSD.org> wrote: > > eg. in our internal tree - which cross builds fine: > > = > > make_keys: make_keys.c names.c ncurses_def.h ${HEADERS} > > ${HOST_CC} -o $@ ${HOST_CFLAGS} ${NCURSES_DIR}/ncurses/tinfo/m= ake_keys.c > = > I like this method but am going to put it off for a while. The The above is a reasonably non-intrusive way of dealing with targets like that. For tools which are more expensive to build, having a separate dir is best, since (with DIRDEPS at least) it is then easier to build them only once and at the right time.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53399.1465856147>