Allow OPT to modify -L

-L is a Boolean flag option, so you specify 'OPT L' or 'OPT !L'.
This commit is contained in:
Rangi
2021-03-15 09:44:38 -04:00
committed by Eldred Habert
parent 432c769d60
commit 2c30ab8731
10 changed files with 63 additions and 13 deletions

View File

@@ -51,7 +51,7 @@ bool oGeneratePhonyDeps;
char *tzTargetFileName;
bool haltnop;
bool optimizeloads;
bool optimizeLoads;
bool verbose;
bool warnings; /* True to enable warnings, false to disable them. */
@@ -166,7 +166,7 @@ int main(int argc, char *argv[])
opt_B("01");
opt_G("0123");
opt_P(0);
optimizeloads = true;
optimizeLoads = true;
haltnop = true;
verbose = false;
warnings = true;
@@ -214,7 +214,7 @@ int main(int argc, char *argv[])
break;
case 'L':
optimizeloads = false;
optimizeLoads = false;
break;
case 'M':