mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-12 08:27:02 +02:00
Add 'U' to list of first pass parsing, required to set cs_compilesystem early and avoid false error
git-svn-id: trunk@37908 -
This commit is contained in:
parent
2130c43685
commit
0c3486f6e4
@ -1024,12 +1024,14 @@ begin
|
|||||||
if opt='' then
|
if opt='' then
|
||||||
exit;
|
exit;
|
||||||
|
|
||||||
{ only parse define,undef,target,verbosity,link etc options the firsttime }
|
{ only parse define,undef,target,verbosity,link etc options the firsttime
|
||||||
|
-Us must now also be first-passed to avoid rejection of -Sf options
|
||||||
|
earlier in command line }
|
||||||
if firstpass and
|
if firstpass and
|
||||||
not(
|
not(
|
||||||
(opt[1]='-') and
|
(opt[1]='-') and
|
||||||
(
|
(
|
||||||
((length(opt)>1) and (opt[2] in ['i','d','v','T','u','n','X','l'])) or
|
((length(opt)>1) and (opt[2] in ['i','d','v','T','u','n','X','l','U'])) or
|
||||||
((length(opt)>3) and (opt[2]='F') and (opt[3]='e')) or
|
((length(opt)>3) and (opt[2]='F') and (opt[3]='e')) or
|
||||||
((length(opt)>3) and (opt[2]='C') and (opt[3]='p')) or
|
((length(opt)>3) and (opt[2]='C') and (opt[3]='p')) or
|
||||||
((length(opt)>3) and (opt[2]='W') and (opt[3] in ['m','p']))
|
((length(opt)>3) and (opt[2]='W') and (opt[3] in ['m','p']))
|
||||||
|
Loading…
Reference in New Issue
Block a user