Handle SPECIALLINK environment variable in the same way it was used in old Makefile.fpc

git-svn-id: trunk@32220 -
This commit is contained in:
pierre 2015-11-02 10:27:13 +00:00
parent 8087389f63
commit d25a768b1d

View File

@ -201,6 +201,10 @@ begin
if CompilerTarget = mipsel then
P.Options.Add('-Fu../compiler/mips');
{ Handle SPECIALLINK environment variable if available }
s:=GetEnvironmentVariable('SPECIALLINK');
if s<>'' then
P.Options.Add(s);
P.Options.Add('-Sg');
P.IncludePath.Add('compiler');