lkml.org 
[lkml]   [2006]   [Aug]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH for review] [67/145] x86_64: Detect CFI support in the assembler at runtime
Date
On Friday 11 August 2006 07:39, Sam Ravnborg wrote:
> > +# as-instr
> > +# Usage: cflags-y += $(call as-instr, instr, option1, option2)
> > +
> > +as-instr = $(shell if echo -e "$(1)" | $(AS) -Z -o /dev/null \
> > + 2>&1 >/dev/null ; then echo "$(2)"; else echo "$(3)"; fi;)
>
> Have you checked that as will not delete yout /dev/null if you build as
> root? ld do so if you specify /dev/null as output file.

No. But it's probably safter to do it otherwise. Do you have an alternative?

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

\
 
 \ /
  Last update: 2006-08-11 08:01    [W:0.051 / U:0.404 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site