]> git.gag.com Git - fw/sdcc/blobdiff - src/SDCCmain.c
10 bit stack mode: just a few more tweaks...
[fw/sdcc] / src / SDCCmain.c
index b7b6a354031d0281991f5f081c729c7a3e67035e..1324cb449444319994f77ca7d724161c787d7984 100644 (file)
@@ -1197,6 +1197,10 @@ static int preProcess (char **envp)
        /* set the macro for stack autos        */
        if ( options.stackAuto )
            _addToList(preArgv, "-DSDCC_STACK_AUTO");
+           
+       /* set the macro for stack autos        */
+       if ( options.stack10bit )
+           _addToList(preArgv, "-DSDCC_STACK_TENBIT"); 
     
        /* set the macro for large model        */
        switch(options.model)