mirror of
https://github.com/cc65/cc65.git
synced 2025-01-14 00:32:08 +00:00
Set the target system also for the assembler
git-svn-id: svn://svn.cc65.org/cc65/trunk@294 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
1c14beb82d
commit
6f4a92b259
@ -471,6 +471,9 @@ static void Assemble (const char* File)
|
|||||||
/* Remember the current assembler argument count */
|
/* Remember the current assembler argument count */
|
||||||
unsigned ArgCount = CA65.ArgCount;
|
unsigned ArgCount = CA65.ArgCount;
|
||||||
|
|
||||||
|
/* Set the target system */
|
||||||
|
CmdSetTarget (&CA65, Target);
|
||||||
|
|
||||||
/* If we won't link, this is the final step. In this case, set the
|
/* If we won't link, this is the final step. In this case, set the
|
||||||
* output name.
|
* output name.
|
||||||
*/
|
*/
|
||||||
@ -871,7 +874,7 @@ int main (int argc, char* argv [])
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case 't':
|
case 't':
|
||||||
/* Set target system - compiler and linker */
|
/* Set target system - compiler, assembler and linker */
|
||||||
OptTarget (Arg, GetArg (&I, 2));
|
OptTarget (Arg, GetArg (&I, 2));
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user