2
0
Эх сурвалжийг харах

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 -
pierre 9 жил өмнө
parent
commit
53af10dbed
1 өөрчлөгдсөн 9 нэмэгдсэн , 5 устгасан
  1. 9 5
      ide/Makefile

+ 9 - 5
ide/Makefile

@@ -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