mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-15 09:09:09 +02:00
* fpc -Q to -P
This commit is contained in:
parent
f61023b93f
commit
52fe9035d9
@ -148,9 +148,9 @@ const fpcmakeini : array[0..185,1..240] of char=(
|
|||||||
'endif'#010+
|
'endif'#010+
|
||||||
'endif'#010+
|
'endif'#010+
|
||||||
#010+
|
#010+
|
||||||
'# Try to detect the ppcXXX file to use by using "fpc -QB" option'#010+
|
'# Try to detect the ppcXXX file to use by using "fpc -PB" option'#010+
|
||||||
'# to query for the default ppcXXX the fpc executable tries. When'#010+
|
'# to query for the default ppcXXX the fpc executable tries. When'#010+
|
||||||
'# fpc is not found use ppc386 by default. Also wh','en fpc -QB gives'#010+
|
'# fpc is not found use ppc386 by default. Also wh','en fpc -PB gives'#010+
|
||||||
'# an error ppc386 will be used.'#010+
|
'# an error ppc386 will be used.'#010+
|
||||||
'ifndef FPC'#010+
|
'ifndef FPC'#010+
|
||||||
'# check if fpc exists'#010+
|
'# check if fpc exists'#010+
|
||||||
@ -158,7 +158,7 @@ const fpcmakeini : array[0..185,1..240] of char=(
|
|||||||
')))'#010+
|
')))'#010+
|
||||||
'ifneq ($(FPCPROG),)'#010+
|
'ifneq ($(FPCPROG),)'#010+
|
||||||
'FPCPROG:=$(firstword $(FPCPROG))'#010+
|
'FPCPROG:=$(firstword $(FPCPROG))'#010+
|
||||||
'FPC:=$(shell $(FPCPROG) -QB)'#010+
|
'FPC:=$(shell $(FPCPROG) -PB)'#010+
|
||||||
'# ','Older fpc executables didn'#039't support it and return'#010+
|
'# ','Older fpc executables didn'#039't support it and return'#010+
|
||||||
'# Error: Illegal processor... When found then fallback to ppc386'#010+
|
'# Error: Illegal processor... When found then fallback to ppc386'#010+
|
||||||
'ifneq ($(findstring Error,$(FPC)),)'#010+
|
'ifneq ($(findstring Error,$(FPC)),)'#010+
|
||||||
|
@ -137,16 +137,16 @@ FPC=$(PP)
|
|||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Try to detect the ppcXXX file to use by using "fpc -QB" option
|
# Try to detect the ppcXXX file to use by using "fpc -PB" option
|
||||||
# to query for the default ppcXXX the fpc executable tries. When
|
# to query for the default ppcXXX the fpc executable tries. When
|
||||||
# fpc is not found use ppc386 by default. Also when fpc -QB gives
|
# fpc is not found use ppc386 by default. Also when fpc -PB gives
|
||||||
# an error ppc386 will be used.
|
# an error ppc386 will be used.
|
||||||
ifndef FPC
|
ifndef FPC
|
||||||
# check if fpc exists
|
# check if fpc exists
|
||||||
FPCPROG:=$(strip $(wildcard $(addsuffix /fpc$(SRCEXEEXT),$(SEARCHPATH))))
|
FPCPROG:=$(strip $(wildcard $(addsuffix /fpc$(SRCEXEEXT),$(SEARCHPATH))))
|
||||||
ifneq ($(FPCPROG),)
|
ifneq ($(FPCPROG),)
|
||||||
FPCPROG:=$(firstword $(FPCPROG))
|
FPCPROG:=$(firstword $(FPCPROG))
|
||||||
FPC:=$(shell $(FPCPROG) -QB)
|
FPC:=$(shell $(FPCPROG) -PB)
|
||||||
# Older fpc executables didn't support it and return
|
# Older fpc executables didn't support it and return
|
||||||
# Error: Illegal processor... When found then fallback to ppc386
|
# Error: Illegal processor... When found then fallback to ppc386
|
||||||
ifneq ($(findstring Error,$(FPC)),)
|
ifneq ($(findstring Error,$(FPC)),)
|
||||||
|
Loading…
Reference in New Issue
Block a user