diff options
author | 2016-10-08 22:26:06 +0900 | |
---|---|---|
committer | 2016-10-08 22:26:06 +0900 | |
commit | 67d64bb339ba9bf7e5dcf972ddb39d79df2c54b1 (patch) | |
tree | 6a0c82e5a027a2b22488eb7299a6825a078fb24d | |
parent | sys-freebsd/freebsd-lib: add lib/libmp to EXTRA_INCLUDES. (diff) | |
download | gentoo-bsd-67d64bb339ba9bf7e5dcf972ddb39d79df2c54b1.tar.gz gentoo-bsd-67d64bb339ba9bf7e5dcf972ddb39d79df2c54b1.tar.bz2 gentoo-bsd-67d64bb339ba9bf7e5dcf972ddb39d79df2c54b1.zip |
sys-freebsd/freebsd-sources: disable hyperv on x86-fbsd.
-rw-r--r-- | sys-freebsd/freebsd-sources/freebsd-sources-11.0.ebuild | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sys-freebsd/freebsd-sources/freebsd-sources-11.0.ebuild b/sys-freebsd/freebsd-sources/freebsd-sources-11.0.ebuild index c649b12..9a442c6 100644 --- a/sys-freebsd/freebsd-sources/freebsd-sources-11.0.ebuild +++ b/sys-freebsd/freebsd-sources/freebsd-sources-11.0.ebuild @@ -92,6 +92,12 @@ src_prepare() { use debug || echo 'nomakeoptions DEBUG' >> "${conf}" use dtrace || echo 'nomakeoptions WITH_CTF' >> "${conf}" + # hyperv fails to compile on x86-fbsd. + if use x86-fbsd && [[ $(tc-getCC) == *gcc* ]] ; then + echo 'nodevice hyperv' >> "${conf}" + dummy_mk modules/hyperv + fi + # Only used with USE=build-kernel, let the kernel build with its own flags, its safer. unset LDFLAGS CFLAGS CXXFLAGS ASFLAGS KERNEL } |