Makefile regenerated after:

Change conditions under which IDE executable is generated:

  Add GDBMI_IS_STATIC variable, set to true for systems
  which generate static FP IDE executable (without library dependencies)
  and can thus also be compiled in cross-compile conditions.

  Only add -sp fpmake option (which means skip executable generation)
  if GDBMI_IS_STATIC is not defined.

git-svn-id: trunk@34523 -
This commit is contained in:
pierre 2016-09-13 08:46:43 +00:00
parent ca4f7719f3
commit 53af10dbed

View File

@ -2287,22 +2287,26 @@ FPMAKE_OPT+=$(FPC_TARGETOPT)
FPMAKE_OPT+=$(addprefix -o ,$(FPCOPT))
FPMAKE_OPT+=--compiler=$(FPC)
FPMAKE_OPT+=-bu
ifndef BUILDFULLNATIVE
FPMAKE_OPT+=-sp
endif
ifdef NOGDB
FPMAKE_OPT+=--NoGDB=1
else
ifndef NOGDBMI
ifneq ($(findstring $(OS_TARGET),$(GDBMI_DEFAULT_OS_LIST)),)
FPMAKE_OPT+=--GDBMI=1
GDBMI=1
endif
else
endif # NOGDBMI
ifdef GDBMI
FPMAKE_OPT+=--GDBMI=1
ifeq ($(findstring $(OS_TARGET),aix beos darwin haiku solaris),)
GDBMI_IS_STATIC=1
endif
endif
endifa # NOGDB
ifndef GDBMI_IS_STATIC
ifndef BUILDFULLNATIVE
FPMAKE_OPT+=-sp
endif
endif # GDBMI_IS_STATIC
ifdef PPC_TARGET
FPMAKE_OPT+=--CompilerTarget=$(PPC_TARGET)
endif