summaryrefslogtreecommitdiff
path: root/src/VBox/Installer/linux/rpm/rules
diff options
context:
space:
mode:
Diffstat (limited to 'src/VBox/Installer/linux/rpm/rules')
-rwxr-xr-xsrc/VBox/Installer/linux/rpm/rules6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/VBox/Installer/linux/rpm/rules b/src/VBox/Installer/linux/rpm/rules
index 74911c68a2f..dfaf04ec1d6 100755
--- a/src/VBox/Installer/linux/rpm/rules
+++ b/src/VBox/Installer/linux/rpm/rules
@@ -147,6 +147,12 @@ else
doc_dir := VBOX_PATH_PACKAGE_DOCS="\"/usr/share/doc/packages/$(verpkg)\""
endif
+ifeq ($(NOQT),)
+ ifeq ($(rpmrel),el7)
+ export PATH := /opt/rh/devtoolset-4/root/usr/bin:$(PATH)
+ endif
+endif
+
# EL5 ships Python 2.4 while our Python support requires Python 2.6 or later
cfg_flags := $(if $(NOQT),--disable-qt,) \
$(if $(NOSDL),--disable-vboxsdl,) \