* as/link/aslink.h: added LKOBJEXT
[fw/sdcc] / as / z80 / asout.c
index 5e4c57fe105b583c9d5b8a968c730bfdf146e993..c4b3434f917d434a049fa2a5105c2421a270b3c6 100644 (file)
 #include <stdio.h>
 #include <setjmp.h>
 #include <string.h>
-
-#if !defined(_MSC_VER)
-#include <alloc.h>
-#endif
-
 #include "asm.h"
 
 
@@ -725,6 +720,11 @@ outgsd()
                putc('\n', ofp);
        }
 
+    /*
+     * Sdcc compile options
+     */
+       if (strlen(optsdcc)) fprintf(ofp, "O %s\n", optsdcc);
+
        /*
         * Global references and absolutes.
         */