summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--emulators/qemu/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/emulators/qemu/Makefile b/emulators/qemu/Makefile
index 7badffb722dc..764806ba32dc 100644
--- a/emulators/qemu/Makefile
+++ b/emulators/qemu/Makefile
@@ -93,11 +93,15 @@ CONFIGURE_ARGS+= --disable-kqemu
.endif
.if defined(NOPORTDOCS)
-MAKE_ARGS+= NOPORTDOCS=${NOPORTDOCS}
+MAKE_ARGS+= NOPORTDOCS=1
.else
BUILD_DEPENDS+= texi2html:${PORTSDIR}/textproc/texi2html
.endif
+.if !defined(STRIP) || ${STRIP} == ""
+CONFIGURE_ARGS+=--disable-strip
+.endif
+
.if ${ARCH} == "amd64"
MAKE_ARGS+= ARCH=x86_64
.endif