diff options
author | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-10-11 13:13:17 +0000 |
---|---|---|
committer | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-10-11 13:13:17 +0000 |
commit | bea517c4531f22574ef5734f360b488e6541e9cc (patch) | |
tree | 878249a387a5798189087db8d306a4731c866146 /libgo | |
parent | 4efdb8d56f4036cd6700b8bc1890855d124bb8ce (diff) | |
download | gcc-bea517c4531f22574ef5734f360b488e6541e9cc.tar.gz |
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
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@240993 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgo')
-rwxr-xr-x | libgo/configure | 6 | ||||
-rw-r--r-- | libgo/configure.ac | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/libgo/configure b/libgo/configure index e065417fa15..ade92db7da3 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 diff --git a/libgo/configure.ac b/libgo/configure.ac index 0f98ae83751..e721b0f09e3 100644 --- a/libgo/configure.ac +++ b/libgo/configure.ac @@ -447,9 +447,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 |