소스 검색

Only add -Xr option if RLINKPATH variable is not empty

git-svn-id: trunk@47483 -
(cherry picked from commit ec112842228d124a3c6e9fb746b1544b796ad11d)
pierre 4 년 전
부모
커밋
fa5d11a3b8
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      utils/fpcm/fpcmake.ini

+ 2 - 2
utils/fpcm/fpcmake.ini

@@ -1300,11 +1300,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