diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2016-10-11 13:13:17 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2016-10-11 13:13:17 +0000 |
commit | 207f844e6e998d5f82589404bc82b11db99b6e83 (patch) | |
tree | 878249a387a5798189087db8d306a4731c866146 /libgo/configure | |
parent | a26ff5b54967f1e7873a8e34c4194ffe568cc34d (diff) | |
download | gcc-207f844e6e998d5f82589404bc82b11db99b6e83.zip gcc-207f844e6e998d5f82589404bc82b11db99b6e83.tar.gz gcc-207f844e6e998d5f82589404bc82b11db99b6e83.tar.bz2 |
configure: redirect -fsplit-stack compilation to dev/null
Avoid an error message in the middle of the configure output.
Patch by Eric Botcazou.
Reviewed-on: https://go-review.googlesource.com/30813
From-SVN: r240993
Diffstat (limited to 'libgo/configure')
-rwxr-xr-x | libgo/configure | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libgo/configure b/libgo/configure index e065417..ade92db 100755 --- a/libgo/configure +++ b/libgo/configure @@ -13937,9 +13937,9 @@ EOF cat > conftest2.c << EOF void f() {} EOF -$CC -c -fsplit-stack $CFLAGS $CPPFLAGS conftest1.c -$CC -c $CFLAGS $CPPFLAGS conftest2.c -if $CC -o conftest conftest1.$ac_objext conftest2.$ac_objext; then +$CC -c -fsplit-stack $CFLAGS $CPPFLAGS conftest1.c >/dev/null 2>&1 +$CC -c $CFLAGS $CPPFLAGS conftest2.c > /dev/null 2>&1 +if $CC -o conftest conftest1.$ac_objext conftest2.$ac_objext > /dev/null 2>&1; then libgo_cv_c_linker_split_non_split=yes else libgo_cv_c_linker_split_non_split=no |