summaryrefslogtreecommitdiff
path: root/package/qemu/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-06-08 08:16:18 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-06-08 08:17:23 +0200
commit4e78bdcbd3272c94e352a360e33c4c0b837adb9f (patch)
treed91ec628b4a2bac8499da67d072c5d7fd5415a28 /package/qemu/Makefile
parenta95396b0100e96140c9c8edb7792999068e9f350 (diff)
finetune qemu configure args
Diffstat (limited to 'package/qemu/Makefile')
-rw-r--r--package/qemu/Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/package/qemu/Makefile b/package/qemu/Makefile
index e2360e61c..1b7393229 100644
--- a/package/qemu/Makefile
+++ b/package/qemu/Makefile
@@ -30,6 +30,12 @@ ifeq ($(ADK_TARGET_LIB_MUSL),y)
TARGET_CFLAGS+= -DF_EXLCK=4 -DF_SHLCK=8 -D__SIGRTMIN=32 -D__SIGRTMAX=\(NSIG-1\)
endif
+ifeq ($(ADK_TARGET_USE_SSP),y)
+CONFIGURE_ARGS+= --enable-stack-protector
+else
+CONFIGURE_ARGS+= --disable-stack-protector
+endif
+
ifeq ($(ADK_TARGET_USE_PIE),y)
CONFIGURE_ARGS+= --enable-pie
else
@@ -42,8 +48,15 @@ CONFIGURE_ARGS+= --host-cc=$(CC_FOR_BUILD) \
--prefix=/usr \
--sysconfdir=/etc \
--enable-kvm \
+ --audio-drv-list=alsa \
+ --disable-libssh2 \
+ --disable-gtk \
+ --disable-vnc \
+ --disable-spice \
+ --disable-libnfs \
--disable-docs \
--disable-sdl \
+ --disable-strip \
--bindir=/usr/bin
CFLAGS_FOR_BUILD+= -DNATIVE