projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf5526b
)
[project @ 2005-07-09 14:35:51 by panne]
author
panne
<unknown>
Sat, 9 Jul 2005 14:35:51 +0000
(14:35 +0000)
committer
panne
<unknown>
Sat, 9 Jul 2005 14:35:51 +0000
(14:35 +0000)
Silence the error message when ld doesn't understand the -x option.
aclocal.m4
patch
|
blob
|
history
diff --git
a/aclocal.m4
b/aclocal.m4
index
e2ad673
..
8f4dad6
100644
(file)
--- a/
aclocal.m4
+++ b/
aclocal.m4
@@
-378,7
+378,7
@@
AC_DEFUN([FP_PROG_LD_X],
AC_CACHE_CHECK([whether ld understands -x], [fp_cv_ld_x],
[echo 'foo() {}' > conftest.c
${CC-cc} -c conftest.c
-if ${LdCmd} -r -x -o conftest2.o conftest.o; then
+if ${LdCmd} -r -x -o conftest2.o conftest.o > /dev/null 2>&1; then
fp_cv_ld_x=yes
else
fp_cv_ld_x=no