mirror of
https://github.com/cc65/cc65.git
synced 2025-04-12 00:37:12 +00:00
bug 2319
This commit is contained in:
parent
1093d169ad
commit
096bd0b633
@ -1305,6 +1305,9 @@ static void OptStaticLocals (const char* Opt attribute ((unused)),
|
||||
static void OptTarget (const char* Opt attribute ((unused)), const char* Arg)
|
||||
/* Set the target system */
|
||||
{
|
||||
if (FirstInput) {
|
||||
Error ("Target must be specified before input files");
|
||||
}
|
||||
Target = FindTarget (Arg);
|
||||
if (Target == TGT_UNKNOWN) {
|
||||
Error ("No such target system: '%s'", Arg);
|
||||
|
Loading…
x
Reference in New Issue
Block a user