diff options
author | Juergen Lock <nox@FreeBSD.org> | 2015-01-19 18:46:51 +0000 |
---|---|---|
committer | Juergen Lock <nox@FreeBSD.org> | 2015-01-19 18:46:51 +0000 |
commit | 166833e55d3e4ded4813fae58420c4f90f3211f4 (patch) | |
tree | 6148fe8195a7e39945abacba806d3e38df983309 /emulators/qemu | |
parent | efea5e65c90ac009967726bb1cda0613768dd55e (diff) | |
download | ports-166833e55d3e4ded4813fae58420c4f90f3211f4.tar.gz ports-166833e55d3e4ded4813fae58420c4f90f3211f4.zip |
Notes
Diffstat (limited to 'emulators/qemu')
-rw-r--r-- | emulators/qemu/Makefile | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/emulators/qemu/Makefile b/emulators/qemu/Makefile index dfd0883df06f..25a53ef61e8c 100644 --- a/emulators/qemu/Makefile +++ b/emulators/qemu/Makefile @@ -14,8 +14,7 @@ MAINTAINER= nox@FreeBSD.org COMMENT= QEMU CPU Emulator HAS_CONFIGURE= yes -USE_GCC= any -USES= gmake perl5 +USES= gmake perl5 compiler:features USE_PERL5= build PATCH_STRIP= -p1 MAKE_ENV+= BSD_MAKE="${MAKE}" @@ -39,6 +38,14 @@ OPTIONS_DEFAULT= SDL GNUTLS CURL PCAP GNS3 CDROM_DMA .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) CONFIGURE_ARGS+= --target-list=i386-softmmu,x86_64-softmmu PLIST_SUB+= ALLTARGETS="@comment " |