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
This commit is contained in:
parent
a26ff5b549
commit
207f844e6e
@ -1,4 +1,4 @@
|
||||
a700fa1908aa2a36f05b3ee09932f814fd94a10d
|
||||
03e53c928ebaa15a915eb1e1b07f193d83fc2852
|
||||
|
||||
The first line of this file holds the git revision number of the last
|
||||
merge done from the gofrontend repository.
|
||||
|
6
libgo/configure
vendored
6
libgo/configure
vendored
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user