Linker complaints if linked modules have conflicting options.
[fw/sdcc] / as / z80 / asout.c
index 5396de3ec7278d23b0d763d01599413f8e847bf9..c4b3434f917d434a049fa2a5105c2421a270b3c6 100644 (file)
@@ -720,6 +720,11 @@ outgsd()
                putc('\n', ofp);
        }
 
+    /*
+     * Sdcc compile options
+     */
+       if (strlen(optsdcc)) fprintf(ofp, "O %s\n", optsdcc);
+
        /*
         * Global references and absolutes.
         */