summaryrefslogtreecommitdiffstats
path: root/coreboot.git.spec
diff options
context:
space:
mode:
Diffstat (limited to 'coreboot.git.spec')
-rw-r--r--coreboot.git.spec4
1 files changed, 3 insertions, 1 deletions
diff --git a/coreboot.git.spec b/coreboot.git.spec
index b54edd0..10d7e73 100644
--- a/coreboot.git.spec
+++ b/coreboot.git.spec
@@ -35,7 +35,9 @@ coreboot tools
%setup -q -n %{name}
%build
-if test -f /opt/rh/devtoolset-1.1/enable; then
+if test -f /opt/rh/devtoolset-2/enable; then
+ source /opt/rh/devtoolset-2/enable
+elif test -f /opt/rh/devtoolset-1.1/enable; then
source /opt/rh/devtoolset-1.1/enable
fi
function do_build() {