If configure fails, display config.log file before exiting.
This commit is contained in:
parent
de8b2d37a2
commit
5e3013c4cb
|
@ -85,7 +85,10 @@ autoreconf -i
|
|||
%build
|
||||
# NB: canonical_arch is a variable in the final script, so it
|
||||
# has to be escaped here.
|
||||
%configure --with-qemu-list="qemu-system-\$canonical_arch"
|
||||
%configure --with-qemu-list="qemu-system-\$canonical_arch" || {
|
||||
cat config.log
|
||||
exit 1
|
||||
}
|
||||
make %{?_smp_mflags}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue