mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-17 22:49:23 +02:00
Only add -Xr option if RLINKPATH variable is not empty
git-svn-id: trunk@47483 -
This commit is contained in:
parent
95addf15ce
commit
ec11284222
@ -1386,11 +1386,11 @@ endif
|
|||||||
ifndef CROSSBOOTSTRAP
|
ifndef CROSSBOOTSTRAP
|
||||||
ifneq ($(BINUTILSPREFIX),)
|
ifneq ($(BINUTILSPREFIX),)
|
||||||
override FPCOPT+=-XP$(BINUTILSPREFIX)
|
override FPCOPT+=-XP$(BINUTILSPREFIX)
|
||||||
endif
|
ifneq ($(RLINKPATH),)
|
||||||
ifneq ($(BINUTILSPREFIX),)
|
|
||||||
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
|
||||||
|
Loading…
Reference in New Issue
Block a user