configure: clean up temporary dependency files
Signed-off-by: malc <av1474@comtv.ru>
This commit is contained in:
parent
6165a4260b
commit
868dc0b4ad
3
configure
vendored
3
configure
vendored
|
@ -14,8 +14,9 @@ fi
|
||||||
TMPC="${TMPDIR1}/qemu-conf-${RANDOM}-$$-${RANDOM}.c"
|
TMPC="${TMPDIR1}/qemu-conf-${RANDOM}-$$-${RANDOM}.c"
|
||||||
TMPO="${TMPDIR1}/qemu-conf-${RANDOM}-$$-${RANDOM}.o"
|
TMPO="${TMPDIR1}/qemu-conf-${RANDOM}-$$-${RANDOM}.o"
|
||||||
TMPE="${TMPDIR1}/qemu-conf-${RANDOM}-$$-${RANDOM}"
|
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() {
|
compile_object() {
|
||||||
$cc $QEMU_CFLAGS -c -o $TMPO $TMPC > /dev/null 2> /dev/null
|
$cc $QEMU_CFLAGS -c -o $TMPO $TMPC > /dev/null 2> /dev/null
|
||||||
|
|
Loading…
Reference in a new issue