Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 23 Jun 2015 17:52:12 -0400
From: Rich Felker <dalias@...c.org>
To: musl@...ts.openwall.com
Subject: Re: [PATCH v9] Build process uses script to add CFI
 directives to x86 asm

On Tue, Jun 23, 2015 at 09:18:08PM +0200, Alex Dowad wrote:
> ../configure now checks CFLAGS as well as CFLAGS_AUTO to see if generation of debug
> info was requested.
> 
> The idea of removing duplication from the Makefile using a new AS_CMD variable has
> come up several times, but this will not work because the arguments need to be
> inserted in different places. I have tried using a Makefile 'define' instead.
> Please see whether you like the way this code reads or not.
> 
> Subarch asm files are treated the same as other asm files. Please note that
> since I don't own the hardware, I can't test whether these Makefile rules work or not.

I should have mentioned -- the CFLAGS_ALL_STATIC/_SHARED variants are
meaningless to asm, so it would work fine to just use $(CFLAGS_ALL);
then there's no need for fancy tricks, and a simple make variable
should work, I think.

Rich

Powered by blists - more mailing lists

Your e-mail address:

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