Changeset 90368 in vbox for trunk/src/VBox/Installer/linux
- Timestamp:
- Jul 28, 2021 1:30:11 PM (3 years ago)
- Location:
- trunk/src/VBox/Installer/linux/rpm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/linux/rpm/VirtualBox.tmpl.spec
r90367 r90368 124 124 %if "%BUILDREL%" == "el7" 125 125 # For el7 we use gcc from devtoolset-4, which is not suitable for kernel work. 126 # See the PATH trickery in src/VBox/Installer/linux/rpm/rules. 126 127 old_path="$PATH" 127 PATH=${PATH%/opt/rh/devtoolset-4/root/bin:} 128 PATH=${PATH%/opt/rh/devtoolset-4/root/usr/bin:} 128 PATH=${PATH#/opt/rh/devtoolset-4/root/usr/bin:} 129 129 %endif 130 130 for d in /lib/modules/*; do -
trunk/src/VBox/Installer/linux/rpm/rules
r90361 r90368 150 150 ifeq ($(NOQT),) 151 151 ifeq ($(rpmrel),el7) 152 # Protect against the fact that this Makefile is run several times, updating 153 # PATH every time. Still assumes that nothing else is added as a prefix. 154 PATH := $(PATH:/opt/rh/devtoolset-4/root/usr/bin:%=%) 152 155 export PATH := /opt/rh/devtoolset-4/root/usr/bin:$(PATH) 153 156 endif
Note:
See TracChangeset
for help on using the changeset viewer.