Browse Source

+ add NO_GDBLIBINC variable to be able to disable use of -dUSE_GDBLIBINC

git-svn-id: trunk@14813 -
pierre 15 years ago
parent
commit
d05cefe03a
2 changed files with 8 additions and 1 deletions
  1. 4 0
      packages/gdbint/Makefile
  2. 4 1
      packages/gdbint/Makefile.fpc

+ 4 - 0
packages/gdbint/Makefile

@@ -293,6 +293,10 @@ else
 GDBLIBINCFOUND=1
 GDBLIBINCCOND=-dUSE_GDBLIBINC
 endif
+ifdef NO_GDBLIBINC
+GDBLIBINCFOUND=0
+GDBLIBINCCOND=
+endif
 endif
 ifeq ($(FULL_TARGET),i386-linux)
 override TARGET_UNITS+=gdbint gdbcon

+ 4 - 1
packages/gdbint/Makefile.fpc

@@ -65,7 +65,10 @@ else
 GDBLIBINCFOUND=1
 GDBLIBINCCOND=-dUSE_GDBLIBINC
 endif
-
+ifdef NO_GDBLIBINC
+GDBLIBINCFOUND=0
+GDBLIBINCCOND=
+endif
 endif