diff --git a/vl.c b/vl.c
index 920717a..f9c8086 100644
--- a/vl.c
+++ b/vl.c
@@ -418,6 +418,7 @@ static void configure_rtc(QemuOpts *opts)
             exit(1);
         }
     }
+#ifdef TARGET_I386
     value = qemu_opt_get(opts, "driftfix");
     if (value) {
         if (!strcmp(value, "slew")) {
@@ -429,6 +430,7 @@ static void configure_rtc(QemuOpts *opts)
             exit(1);
         }
     }
+#endif
 }
 
 /***********************************************************/
