Only add -Xr option if RLINKPATH variable is not empty

git-svn-id: trunk@47483 -
This commit is contained in:
pierre 2020-11-20 14:01:51 +00:00
parent 95addf15ce
commit ec11284222

View File

@ -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