resources: Fixes re-building SPEC CPU2017 benchmarks.

This change fixes the issue with running SPEC CPU2017 benchmarks
via gem5. It provides a valid path to /usr/bin in the disk-image
during execution and avoids re-building the same benchmark

Change-Id: Ice2ec9bbf52416558b8fdb5f3f37d501274cf141
Reviewed-by: Jason Lowe-Power <>
Reviewed-by: Bobby R. Bruce <>
Maintainer: Jason Lowe-Power <>
Maintainer: Bobby R. Bruce <>
Tested-by: Jason Lowe-Power <>
Tested-by: Bobby R. Bruce <>
diff --git a/src/spec-2017/disk-image/spec-2017/ b/src/spec-2017/disk-image/spec-2017/
index 922af4f..a3b210f 100644
--- a/src/spec-2017/disk-image/spec-2017/
+++ b/src/spec-2017/disk-image/spec-2017/
@@ -19,7 +19,7 @@
     # run the commands
     read -r workload size m5filespath < workloads
-    runcpu --size $size --iterations 1 --config myconfig.x86.cfg --noreportable --nobuild $workload
+    runcpu --size $size --iterations 1 --config myconfig.x86.cfg --define gcc_dir="/usr" --noreportable --nobuild $workload
     m5 exit
     # copy the SPEC result files to host