| Submitter | Jan Kiszka |
|---|---|
| Date | Nov. 3, 2009, 9:54 a.m. |
| Message ID | <4AEFFDE4.2090006@siemens.com> |
| Download | mbox | patch |
| Permalink | /patch/37498/ |
| State | New |
| Headers | show |
Comments
On Tue, Nov 03, 2009 at 10:54:44AM +0100, Jan Kiszka wrote: > We have a function for this which does not issue annoying warnings. Acked-by: Riku Voipio <riku.voipio@iki.fi> > Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> > --- > > configure | 4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/configure b/configure > index aa2cc43..b38353a 100755 > --- a/configure > +++ b/configure > @@ -1580,7 +1580,7 @@ int main(void) > return 0; > } > EOF > -if $cc $ARCH_CFLAGS -o $TMPE $TMPC 2> /dev/null ; then > +if compile_prog "" "" ; then > fallocate=yes > fi > > @@ -1595,7 +1595,7 @@ int main(void) > return 0; > } > EOF > -if $cc $ARCH_CFLAGS -o $TMPE $TMPC 2> /dev/null ; then > +if compile_prog "" "" ; then > dup3=yes > fi > >
Patch
diff --git a/configure b/configure index aa2cc43..b38353a 100755 --- a/configure +++ b/configure @@ -1580,7 +1580,7 @@ int main(void) return 0; } EOF -if $cc $ARCH_CFLAGS -o $TMPE $TMPC 2> /dev/null ; then +if compile_prog "" "" ; then fallocate=yes fi @@ -1595,7 +1595,7 @@ int main(void) return 0; } EOF -if $cc $ARCH_CFLAGS -o $TMPE $TMPC 2> /dev/null ; then +if compile_prog "" "" ; then dup3=yes fi
We have a function for this which does not issue annoying warnings. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> --- configure | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)