diff options
Diffstat (limited to 'x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-4.3.30-r1.ebuild')
-rw-r--r-- | x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-4.3.30-r1.ebuild | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-4.3.30-r1.ebuild b/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-4.3.30-r1.ebuild index 83448599f7a7..7ab7060a1f1f 100644 --- a/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-4.3.30-r1.ebuild +++ b/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-4.3.30-r1.ebuild @@ -54,6 +54,10 @@ S="${WORKDIR}/${MY_P}" QA_TEXTRELS_x86="usr/lib/VBoxOGL.so" pkg_setup() { + if [ "${MERGE_TYPE}" != "binary" ]; then + version_is_at_least 4.9 $(gcc-version) || die "Please set gcc 4.9 or higher as active in gcc-config to build ${PN}" + fi + linux-mod_pkg_setup BUILD_PARAMS="KERN_DIR=${KV_OUT_DIR} KERNOUT=${KV_OUT_DIR}" |