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

* use -dUSE_MINGW_GDB for gdbcon unit also

git-svn-id: trunk@14034 -
pierre 16 жил өмнө
parent
commit
a0b8dbcce5

+ 6 - 0
packages/gdbint/Makefile

@@ -2998,6 +2998,12 @@ gdbint$(PPUEXT): gdbint.pp gdbver.inc
 	$(COMPILER) -d$(GDBVER) $(GDBLIBINCCOND)  -Fisrc -Fusrc src/gdbint.pp
 endif
 gdbcon$(PPUEXT): gdbcon.pp gdbint$(PPUEXT)
+ifeq ($(wildcard $(GDBLIBDIR)/libmingw32.a),)
+	$(COMPILER) gdbcon.pp
+else
+	$(COMPILER) -dUSE_MINGW_GDB gdbcon.pp
+endif
+	$(EXECPPAS)
 ifeq ($(OS_TARGET),go32v2)
 DBGCOM=dbgcom$(OEXT)
 else

+ 6 - 0
packages/gdbint/Makefile.fpc

@@ -130,6 +130,12 @@ gdbint$(PPUEXT): gdbint.pp gdbver.inc
 endif
 
 gdbcon$(PPUEXT): gdbcon.pp gdbint$(PPUEXT)
+ifeq ($(wildcard $(GDBLIBDIR)/libmingw32.a),)
+        $(COMPILER) gdbcon.pp
+else
+        $(COMPILER) -dUSE_MINGW_GDB gdbcon.pp
+endif
+	$(EXECPPAS)
 
 ifeq ($(OS_TARGET),go32v2)
 DBGCOM=dbgcom$(OEXT)