Commit 207f844e by Ian Lance Taylor

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
parent a26ff5b5
a700fa1908aa2a36f05b3ee09932f814fd94a10d 03e53c928ebaa15a915eb1e1b07f193d83fc2852
The first line of this file holds the git revision number of the last The first line of this file holds the git revision number of the last
merge done from the gofrontend repository. merge done from the gofrontend repository.
...@@ -13937,9 +13937,9 @@ EOF ...@@ -13937,9 +13937,9 @@ EOF
cat > conftest2.c << EOF cat > conftest2.c << EOF
void f() {} void f() {}
EOF EOF
$CC -c -fsplit-stack $CFLAGS $CPPFLAGS conftest1.c $CC -c -fsplit-stack $CFLAGS $CPPFLAGS conftest1.c >/dev/null 2>&1
$CC -c $CFLAGS $CPPFLAGS conftest2.c $CC -c $CFLAGS $CPPFLAGS conftest2.c > /dev/null 2>&1
if $CC -o conftest conftest1.$ac_objext conftest2.$ac_objext; then if $CC -o conftest conftest1.$ac_objext conftest2.$ac_objext > /dev/null 2>&1; then
libgo_cv_c_linker_split_non_split=yes libgo_cv_c_linker_split_non_split=yes
else else
libgo_cv_c_linker_split_non_split=no libgo_cv_c_linker_split_non_split=no
......
...@@ -447,9 +447,9 @@ EOF ...@@ -447,9 +447,9 @@ EOF
cat > conftest2.c << EOF cat > conftest2.c << EOF
void f() {} void f() {}
EOF EOF
$CC -c -fsplit-stack $CFLAGS $CPPFLAGS conftest1.c $CC -c -fsplit-stack $CFLAGS $CPPFLAGS conftest1.c >/dev/null 2>&1
$CC -c $CFLAGS $CPPFLAGS conftest2.c $CC -c $CFLAGS $CPPFLAGS conftest2.c > /dev/null 2>&1
if $CC -o conftest conftest1.$ac_objext conftest2.$ac_objext; then if $CC -o conftest conftest1.$ac_objext conftest2.$ac_objext > /dev/null 2>&1; then
libgo_cv_c_linker_split_non_split=yes libgo_cv_c_linker_split_non_split=yes
else else
libgo_cv_c_linker_split_non_split=no libgo_cv_c_linker_split_non_split=no
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment