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

Only add -Xr option if RLINKPATH variable is not empty

git-svn-id: trunk@47483 -
pierre 4 жил өмнө
parent
commit
ec11284222

+ 2 - 2
utils/fpcm/fpcmake.ini

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