mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-06-05 15:38:46 +02:00
* when looking for the compiler, call fpc with the right target cpu name, resolves #9924 after makefile regeneration
git-svn-id: trunk@8911 -
This commit is contained in:
parent
a0ebdcf820
commit
3e7e3dc2eb
File diff suppressed because it is too large
Load Diff
@ -167,7 +167,7 @@ ifndef FPC
|
||||
FPCPROG:=$(strip $(wildcard $(addsuffix /fpc$(SRCEXEEXT),$(SEARCHPATH))))
|
||||
ifneq ($(FPCPROG),)
|
||||
FPCPROG:=$(firstword $(FPCPROG))
|
||||
FPC:=$(shell $(FPCPROG) -PB)
|
||||
FPC:=$(shell $(FPCPROG) -P$(CPU_TARGET) -PB)
|
||||
# Older fpc executables didn't support it and return
|
||||
# Error: Illegal processor... If found then fallback to ppc386
|
||||
ifneq ($(findstring Error,$(FPC)),)
|
||||
|
Loading…
Reference in New Issue
Block a user