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