aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authormalc <av1474@comtv.ru>2009-10-11 07:57:17 +0400
committermalc <av1474@comtv.ru>2009-10-11 07:57:17 +0400
commit868dc0b4ad0911a3db923bc61c6963089506f37c (patch)
tree217089e1bdfdd75bc8c7a704ac0f56b06e203458 /configure
parent6165a4260b33272b88005ec0cf8538062dc8c834 (diff)
configure: clean up temporary dependency files
Signed-off-by: malc <av1474@comtv.ru>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure b/configure
index 3840e187dd..35cf6cc834 100755
--- a/configure
+++ b/configure
@@ -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