* link/z80/lkmain.c (afile),
[fw/sdcc] / as / mcs51 / asout.c
index c21b4ac285369663aea7027c50960dd54200d2af..363a2c1214c0b65b65c1eb54da8dcc45e859fab0 100644 (file)
@@ -16,9 +16,6 @@
 #include <stdio.h>
 #include <setjmp.h>
 #include <string.h>
-#if !defined(_MSC_VER)
-#include <alloc.h>
-#endif
 #include "asm.h"
 
 
@@ -928,6 +925,11 @@ outgsd()
                putc('\n', ofp);
        }
 
+    /*
+     * Sdcc compile options
+     */
+       if (strlen(optsdcc)) fprintf(ofp, "O %s\n", optsdcc);
+
        /*
         * Global references and absolutes.
         */