Commit 2b218e6d authored by nox's avatar nox
Browse files

Fix build on 10+/i386 for when gcc49 becomes default (and fix ALL_TARGETS

on 10+/i386 while we're at it.)

PR:		196855
Submitted by:	gerald
parent b14e4f4c
...@@ -14,8 +14,7 @@ MAINTAINER= nox@FreeBSD.org ...@@ -14,8 +14,7 @@ MAINTAINER= nox@FreeBSD.org
COMMENT= QEMU CPU Emulator COMMENT= QEMU CPU Emulator
HAS_CONFIGURE= yes HAS_CONFIGURE= yes
USE_GCC= any USES= gmake perl5 compiler:features
USES= gmake perl5
USE_PERL5= build USE_PERL5= build
PATCH_STRIP= -p1 PATCH_STRIP= -p1
MAKE_ENV+= BSD_MAKE="${MAKE}" MAKE_ENV+= BSD_MAKE="${MAKE}"
...@@ -39,6 +38,14 @@ OPTIONS_DEFAULT= SDL GNUTLS CURL PCAP GNS3 CDROM_DMA ...@@ -39,6 +38,14 @@ OPTIONS_DEFAULT= SDL GNUTLS CURL PCAP GNS3 CDROM_DMA
.include <bsd.port.pre.mk> .include <bsd.port.pre.mk>
.if ${ARCH} == "i386" && ${COMPILER_TYPE} == "clang"
# gcc49 breaks target-i386 on i386, and gcc48 breaks ALL_TARGETS on i386:
# https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196855
USE_GCC= 4.7
.else
USE_GCC= any
.endif
.if empty(PORT_OPTIONS:MALL_TARGETS) .if empty(PORT_OPTIONS:MALL_TARGETS)
CONFIGURE_ARGS+= --target-list=i386-softmmu,x86_64-softmmu CONFIGURE_ARGS+= --target-list=i386-softmmu,x86_64-softmmu
PLIST_SUB+= ALLTARGETS="@comment " PLIST_SUB+= ALLTARGETS="@comment "
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment