diff options
| author | pierre <pierre@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2010-01-27 12:30:35 +0000 |
|---|---|---|
| committer | pierre <pierre@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2010-01-27 12:30:35 +0000 |
| commit | d30cbdd29a4c79695884dae3603371575da39776 (patch) | |
| tree | 6f0475fd7a6441ab69db7b6ccfda8ae03a123110 | |
| parent | 28dc8e77b15a63bc0180eeadde8c96b511a76739 (diff) | |
| download | fpc-d30cbdd29a4c79695884dae3603371575da39776.tar.gz | |
+ add NO_GDBLIBINC variable to be able to disable use of -dUSE_GDBLIBINC
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@14813 3ad0048d-3df7-0310-abae-a5850022a9f2
| -rw-r--r-- | packages/gdbint/Makefile | 4 | ||||
| -rw-r--r-- | packages/gdbint/Makefile.fpc | 5 |
2 files changed, 8 insertions, 1 deletions
diff --git a/packages/gdbint/Makefile b/packages/gdbint/Makefile index eb42834e7f..2d68cfd381 100644 --- a/packages/gdbint/Makefile +++ b/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 diff --git a/packages/gdbint/Makefile.fpc b/packages/gdbint/Makefile.fpc index 9ebfc0447b..ef0d7cec6d 100644 --- a/packages/gdbint/Makefile.fpc +++ b/packages/gdbint/Makefile.fpc @@ -65,7 +65,10 @@ else GDBLIBINCFOUND=1 GDBLIBINCCOND=-dUSE_GDBLIBINC endif - +ifdef NO_GDBLIBINC +GDBLIBINCFOUND=0 +GDBLIBINCCOND= +endif endif |
