From ec112842228d124a3c6e9fb746b1544b796ad11d Mon Sep 17 00:00:00 2001 From: pierre Date: Fri, 20 Nov 2020 14:01:51 +0000 Subject: [PATCH] Only add -Xr option if RLINKPATH variable is not empty git-svn-id: trunk@47483 - --- utils/fpcm/fpcmake.ini | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/fpcm/fpcmake.ini b/utils/fpcm/fpcmake.ini index 74cff38bb0..f78782fe29 100644 --- a/utils/fpcm/fpcmake.ini +++ b/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