mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-05 14:48:18 +02:00
Only add '-bu' option to FPMAKE_OPT if DISABLE_FPMAKE_BUILD_UNIT variable is not set
This commit is contained in:
parent
e225b41e3e
commit
aec4cb393d
@ -65,7 +65,9 @@ FPMAKE_OPT+=--localunitdir=..
|
||||
FPMAKE_OPT+=$(FPC_TARGETOPT)
|
||||
FPMAKE_OPT+=$(addprefix -o ,$(FPCOPT))
|
||||
FPMAKE_OPT+=--compiler=$(FPC)
|
||||
ifndef DISABLE_FPMAKE_BUILD_UNIT
|
||||
FPMAKE_OPT+=-bu
|
||||
endif
|
||||
ifdef FPC_DOTTEDUNITS
|
||||
FPMAKE_OPT+=-ns
|
||||
FPMAKE_OPT+=-ns -o -dFPC_DOTTEDUNITS
|
||||
|
@ -49,7 +49,9 @@ FPMAKE_OPT+=--globalunitdir=../packages
|
||||
FPMAKE_OPT+=$(FPC_TARGETOPT)
|
||||
FPMAKE_OPT+=$(addprefix -o ,$(FPCOPT))
|
||||
FPMAKE_OPT+=--compiler=$(FPC)
|
||||
ifndef DISABLE_FPMAKE_BUILD_UNIT
|
||||
FPMAKE_OPT+=-bu
|
||||
endif
|
||||
ifndef BUILDFULLNATIVE
|
||||
FPMAKE_OPT+=-scp
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user