]> git.hungrycats.org Git - linux/commitdiff
ia64: Fix check for "model(small)" attribute.
authorDavid Mosberger <davidm@tiger.hpl.hp.com>
Fri, 25 Jul 2003 11:45:20 +0000 (04:45 -0700)
committerDavid Mosberger <davidm@tiger.hpl.hp.com>
Fri, 25 Jul 2003 11:45:20 +0000 (04:45 -0700)
arch/ia64/scripts/toolchain-flags

index 6a59cd4cb74836209d6ffa088e17abf5de22d9be..97c72117f5d283011f19dd07f53ae7c4051df8cf 100755 (executable)
@@ -20,7 +20,7 @@ warning: your linker cannot handle cross-segment segment-relative relocations.
 EOF
 fi
 
-if ! $CC -c $dir/check-model.c -o $out | grep -q 'attribute directive ignored'
+if ! $CC -c $dir/check-model.c -o $out 2>&1 | grep -q 'attribute directive ignored'
 then
     CPPFLAGS="$CPPFLAGS -DHAVE_MODEL_SMALL_ATTRIBUTE"
 fi