Browse Source

Pass --NOGDBMI=1 to fpmake if NOGDBMI is set

git-svn-id: trunk@38132 -
pierre 7 years ago
parent
commit
09995b820e
2 changed files with 7 additions and 0 deletions
  1. 3 0
      packages/ide/Makefile
  2. 4 0
      packages/ide/Makefile.fpc

+ 3 - 0
packages/ide/Makefile

@@ -2303,6 +2303,9 @@ ifneq ($(findstring $(OS_TARGET),$(GDBMI_DEFAULT_OS_LIST)),)
 GDBMI=1
 GDBMI=1
 endif
 endif
 endif # NOGDBMI
 endif # NOGDBMI
+ifdef NOGDBMI
+FPMAKE_OPT+=--NOGDBMI=1
+endif
 ifdef GDBMI
 ifdef GDBMI
 FPMAKE_OPT+=--GDBMI=1
 FPMAKE_OPT+=--GDBMI=1
 ifeq ($(findstring $(OS_TARGET),aix beos darwin haiku solaris),)
 ifeq ($(findstring $(OS_TARGET),aix beos darwin haiku solaris),)

+ 4 - 0
packages/ide/Makefile.fpc

@@ -59,6 +59,10 @@ GDBMI=1
 endif
 endif
 endif # NOGDBMI
 endif # NOGDBMI
 
 
+ifdef NOGDBMI
+FPMAKE_OPT+=--NOGDBMI=1
+endif
+
 ifdef GDBMI
 ifdef GDBMI
 FPMAKE_OPT+=--GDBMI=1
 FPMAKE_OPT+=--GDBMI=1
 # If the rtl does not require libc, then
 # If the rtl does not require libc, then