diff --git a/repbuild/src/main.rs b/repbuild/src/main.rs
index 7ae36d7..7f7c5f8 100644
--- a/repbuild/src/main.rs
+++ b/repbuild/src/main.rs
@@ -411,6 +411,7 @@ fn run(release: bool, target: Target, do_accel: bool) -> Result<(), Error> {
     };
     let (mut com, mut com2) = (Command::new(target_str), Command::new(target_str));
     let ovmf_path = fetch_ovmf(target);
+    let cpu = "max";
     #[cfg(target_arch = "x86_64")]
     let accel = if do_accel {
         let supported = String::from_utf8(
@@ -429,8 +430,6 @@ fn run(release: bool, target: Target, do_accel: bool) -> Result<(), Error> {
         let vmx = cpuid.get_feature_info().unwrap().has_vmx();
         let svm = cpuid.get_svm_info().is_some();
 
-        let mut cpu = "max";
-
         if supported.contains("kvm") && (vmx || svm) {
             "accel=kvm"
         } else if cpuid