mirror of
https://github.com/cc65/cc65.git
synced 2024-06-01 13:41:34 +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)
|
static void OptTarget (const char* Opt attribute ((unused)), const char* Arg)
|
||||||
/* Set the target system */
|
/* Set the target system */
|
||||||
{
|
{
|
||||||
|
if (FirstInput) {
|
||||||
|
Error ("Target must be specified before input files");
|
||||||
|
}
|
||||||
Target = FindTarget (Arg);
|
Target = FindTarget (Arg);
|
||||||
if (Target == TGT_UNKNOWN) {
|
if (Target == TGT_UNKNOWN) {
|
||||||
Error ("No such target system: '%s'", Arg);
|
Error ("No such target system: '%s'", Arg);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user