b04b0d
diff --git a/CONFIG/src/SpewMakeInc.c b/CONFIG/src/SpewMakeInc.c
b04b0d
index eed259e..65d68a1 100644
b04b0d
--- a/CONFIG/src/SpewMakeInc.c
b04b0d
+++ b/CONFIG/src/SpewMakeInc.c
b04b0d
@@ -764,9 +764,9 @@ int main(int nargs, char **args)
b04b0d
       else
b04b0d
       {
b04b0d
          if (ptrbits == 32)
b04b0d
-            fprintf(fpout, " -melf_i386");
b04b0d
+            fprintf(fpout, " -Wl,-melf_i386");
b04b0d
          else if (ptrbits == 64)
b04b0d
-            fprintf(fpout, " -melf_x86_64");
b04b0d
+            fprintf(fpout, " -Wl,-melf_x86_64");
b04b0d
          if (OS == OSFreeBSD)
b04b0d
             fprintf(fpout, "_fbsd");
b04b0d
       }