Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Thu, 6 Feb 2014 20:07:55 -0500
From: Rich Felker <dalias@...ifal.cx>
To: musl@...ts.openwall.com
Subject: Re: Out-of-tree builds

On Fri, Feb 07, 2014 at 02:01:36AM +0100, Szabolcs Nagy wrote:
> +dirhack:
> +	mkdir -p $(sort $(dir $(OBJS))) crt include lib tools

How does this avoid having the $(M) source root from $(OBJS)?

>  include/bits:
>  	@test "$(ARCH)" || { echo "Please set ARCH in config.mak before running make." ; exit 1 ; }
> -	ln -sf ../arch/$(ARCH)/bits $@
> +	ln -sf ../$(M)/arch/$(ARCH)/bits $@

Having ../ prior to a possibly-absolute path $(M) seems wrong.

Rich

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.