Re: PATCH: Add --size-check=[error|warning]

From: Sedat Dilek
Date: Mon Mar 14 2011 - 07:53:14 EST


On Mon, Mar 14, 2011 at 12:38 PM, Sedat Dilek
<sedat.dilek@xxxxxxxxxxxxxx> wrote:
> [ Changing Alan's Email to valid <amodra@xxxxxxxxx> in CC ]
>
> On Mon, Mar 14, 2011 at 12:26 PM, Jan Beulich <JBeulich@xxxxxxxxxx> wrote:
>>>>> On 14.03.11 at 12:02, Sedat Dilek <sedat.dilek@xxxxxxxxxxxxxx> wrote:
> [...]
>>> [2] Where can someone set a "global behaviour" (hardcoded options) for
>>> his/her assembler in the kernel's build-system (speaking of
>>> "--size-check=[error|warning]")?
>>
>> Nowhere, selecting behavior is possible only via the command line.
>>
>
> Via command-line, something like this would do it?
>
> Â Â $ export AS="/usr/bin/as --size-check=warning
> [...]
>
> - Sedat -
>

By looking through the binutils source-code, I have seen ASFLAGS.

$ ASFLAGS="--size-check=warning" ; export ASFLAGS

Would that work?

- Sedat -
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/