Преглед изворни кода

Only add -Xr option if RLINKPATH variable is not empty

git-svn-id: trunk@47483 -
pierre пре 4 година
родитељ
комит
ec11284222
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      utils/fpcm/fpcmake.ini

+ 2 - 2
utils/fpcm/fpcmake.ini

@@ -1386,11 +1386,11 @@ endif
 ifndef CROSSBOOTSTRAP
 ifndef CROSSBOOTSTRAP
 ifneq ($(BINUTILSPREFIX),)
 ifneq ($(BINUTILSPREFIX),)
 override FPCOPT+=-XP$(BINUTILSPREFIX)
 override FPCOPT+=-XP$(BINUTILSPREFIX)
-endif
-ifneq ($(BINUTILSPREFIX),)
+ifneq ($(RLINKPATH),)
 override FPCOPT+=-Xr$(RLINKPATH)
 override FPCOPT+=-Xr$(RLINKPATH)
 endif
 endif
 endif
 endif
+endif
 
 
 # When BINUTILSPREFIX is given and we are not cross-compiling then use
 # When BINUTILSPREFIX is given and we are not cross-compiling then use
 # it while compiling the fpmake file. (For example to build i386-freebsd
 # it while compiling the fpmake file. (For example to build i386-freebsd