diff options
author | vboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f> | 2021-03-25 15:54:01 +0000 |
---|---|---|
committer | vboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f> | 2021-03-25 15:54:01 +0000 |
commit | c155e2b79570de7f53f0633039f1e9a12d39a385 (patch) | |
tree | 526e506f8b9115ed6d725dbd3b74158f0ad66ad8 /src/VBox/Installer/linux/rpm/rules | |
parent | dcaa0393b0af5867c7189fc3833cbcf85535c188 (diff) | |
download | VirtualBox-svn-c155e2b79570de7f53f0633039f1e9a12d39a385.tar.gz |
Installer/linux/rpm: For EL7 builds use devtoolset-4 if present, because for recent Qt the default g++ isn't new enough.
git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@88293 cfe28804-0f27-0410-a406-dd0f0b0b656f
Diffstat (limited to 'src/VBox/Installer/linux/rpm/rules')
-rwxr-xr-x | src/VBox/Installer/linux/rpm/rules | 6 |
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,) \ |