* as/z80/asmain.c (main): fixed bug #801766
[fw/sdcc] / as / z80 / asout.c
index e91ba04b6de7c4f8a2fe2aa2117982d8e8cb30ba..c4b3434f917d434a049fa2a5105c2421a270b3c6 100644 (file)
@@ -12,7 +12,6 @@
 #include <stdio.h>
 #include <setjmp.h>
 #include <string.h>
-#include <alloc.h>
 #include "asm.h"
 
 
@@ -721,6 +720,11 @@ outgsd()
                putc('\n', ofp);
        }
 
+    /*
+     * Sdcc compile options
+     */
+       if (strlen(optsdcc)) fprintf(ofp, "O %s\n", optsdcc);
+
        /*
         * Global references and absolutes.
         */