summaryrefslogtreecommitdiff
path: root/repo/qemu/qemu.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/qemu/qemu.xibuild')
-rw-r--r--repo/qemu/qemu.xibuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/repo/qemu/qemu.xibuild b/repo/qemu/qemu.xibuild
index 4660aaf..d859027 100644
--- a/repo/qemu/qemu.xibuild
+++ b/repo/qemu/qemu.xibuild
@@ -28,7 +28,7 @@ prepare () {
}
build() {
- mkdir -p "$BUILD_ROOT"/build
+ mkdir -p "$BUILD_ROOT"/build "$BUILD_ROOT"/build-static
cd "$BUILD_ROOT"/build
CFLAGS="$CFLAGS -O2" "$BUILD_ROOT"/configure \
--prefix=/usr \
@@ -53,8 +53,10 @@ build() {
--enable-sdl \
--enable-spice \
--enable-virglrenderer \
- --enable-gtk
- make ARFLAGS="rc"
+ --enable-gtk &&
+ make ARFLAGS="rc" || exit 1
+ cd ..
+
}
package() {