[lazarus] double compiler commands problem found

Keith Bowes keith_bowes at hotmail.com
Tue Jan 29 14:53:32 EST 2002


From: "Peter Vreman" <pfv at cooldown.demon.nl>:

>
> The problem is the line "export FPCOPT" in lazarus/Makefile.fpc. FPCOPT is
> a local variable that should not be exported, because all commandline
> options are added to this variable and it is never reset. When you export
> it you include the old commandline options also when another $(MAKE) call
> is done from the Makefile, which is the case under win32, see the ide
> target
>

Thanks, I fixed the problem.  As a side effect, now the resource always gets
linked in on Win32, not just when it's compiled with the win32 interface.

Keith






More information about the Lazarus mailing list