summaryrefslogtreecommitdiff
blob: 81507408c1a0242fc3fccc568f2c2882e608b914 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
  Bug #201666: CPU_TARGET is not yet set when looking for fpc, so don't use it

--- lazarus/Makefile
+++ lazarus/Makefile
@@ -107,7 +107,7 @@
 FPCPROG:=$(strip $(wildcard $(addsuffix /fpc$(SRCEXEEXT),$(SEARCHPATH))))
 ifneq ($(FPCPROG),)
 FPCPROG:=$(firstword $(FPCPROG))
-FPC:=$(shell $(FPCPROG) -P$(CPU_TARGET) -PB)
+FPC:=$(shell $(FPCPROG) -PB)
 ifneq ($(findstring Error,$(FPC)),)
 override FPC=$(firstword $(strip $(wildcard $(addsuffix /ppc386$(SRCEXEEXT),$(SEARCHPATH)))))
 endif