Browse Source

* also try BASEDIR for FPCDIR

peter 21 years ago
parent
commit
69fd93b662
2 changed files with 171 additions and 165 deletions
  1. 168 165
      utils/fpcm/fpcmake.inc
  2. 3 0
      utils/fpcm/fpcmake.ini

File diff suppressed because it is too large
+ 168 - 165
utils/fpcm/fpcmake.inc


+ 3 - 0
utils/fpcm/fpcmake.ini

@@ -274,11 +274,14 @@ override FPCDIR:=$(FPCDIR)/..
 ifeq ($(wildcard $(addprefix $(FPCDIR)/,rtl units)),)
 ifeq ($(wildcard $(addprefix $(FPCDIR)/,rtl units)),)
 override FPCDIR:=$(FPCDIR)/..
 override FPCDIR:=$(FPCDIR)/..
 ifeq ($(wildcard $(addprefix $(FPCDIR)/,rtl units)),)
 ifeq ($(wildcard $(addprefix $(FPCDIR)/,rtl units)),)
+override FPCDIR:=$(BASEDIR)
+ifeq ($(wildcard $(addprefix $(FPCDIR)/,rtl units)),)
 override FPCDIR=c:/pp
 override FPCDIR=c:/pp
 endif
 endif
 endif
 endif
 endif
 endif
 endif
 endif
+endif
 
 
 # Cross compiler dir
 # Cross compiler dir
 ifndef CROSSDIR
 ifndef CROSSDIR

Some files were not shown because too many files changed in this diff