configure: clean up temporary dependency files

Signed-off-by: malc <av1474@comtv.ru>
This commit is contained in:
malc 2009-10-11 07:57:17 +04:00
parent 6165a4260b
commit 868dc0b4ad
1 changed files with 2 additions and 1 deletions

3
configure vendored
View File

@ -14,8 +14,9 @@ fi
TMPC="${TMPDIR1}/qemu-conf-${RANDOM}-$$-${RANDOM}.c"
TMPO="${TMPDIR1}/qemu-conf-${RANDOM}-$$-${RANDOM}.o"
TMPE="${TMPDIR1}/qemu-conf-${RANDOM}-$$-${RANDOM}"
TMPD="${TMPDIR1}/qemu-conf-${RANDOM}-$$-${RANDOM}.d"
trap "rm -f $TMPC $TMPO $TMPE ; exit" 0 2 3 15
trap "rm -f $TMPC $TMPO $TMPE $TMPD ; exit" 0 2 3 15
compile_object() {
$cc $QEMU_CFLAGS -c -o $TMPO $TMPC > /dev/null 2> /dev/null