mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 19:09:23 +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
|
||||
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
|
||||
not(
|
||||
(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]='C') and (opt[3]='p')) or
|
||||
((length(opt)>3) and (opt[2]='W') and (opt[3] in ['m','p']))
|
||||
|
Loading…
Reference in New Issue
Block a user