From 605749214a8ace26b0a37dfb684ab295822f8440 Mon Sep 17 00:00:00 2001 From: theuni Date: Wed, 21 Sep 2011 01:53:37 -0400 Subject: build: quit creating a.out redirect gcc to /dev/null to avoid writing to a file --- configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure.in') diff --git a/configure.in b/configure.in index 7c2149f026..763b7ee42f 100755 --- a/configure.in +++ b/configure.in @@ -20,7 +20,7 @@ AC_DEFUN([XB_FIND_SONAME], [ if [[ "$host_vendor" != "apple" ]]; then AC_MSG_CHECKING([for lib$2 soname]) - $1_FILENAME=$($CC -nostdlib $LDFLAGS -l$2 -Wl,-M 2>/dev/null | grep "^LOAD.*$2" | awk '{V=2; print $V}') + $1_FILENAME=$($CC -nostdlib -o /dev/null $LDFLAGS -l$2 -Wl,-M 2>/dev/null | grep "^LOAD.*$2" | awk '{V=2; print $V}') if [[ ! -z $$1_FILENAME ]]; then $1_SONAME=$(objdump -p $$1_FILENAME | grep "SONAME.*$2" | awk '{V=2; print $V}') fi -- cgit v1.2.3