From 575ad8c2e13d6099f67d9d5e816fad8968c6e900 Mon Sep 17 00:00:00 2001 From: Davide Italiano Date: Wed, 27 Apr 2016 21:56:53 +0000 Subject: [PATCH] [ELF] -R is an alias for -rpath. perl-5 uses the former, so provide an alias. Found while linking the whole set of FreeBSD ports with lld. llvm-svn: 267801 --- lld/ELF/Options.td | 1 + 1 file changed, 1 insertion(+) diff --git a/lld/ELF/Options.td b/lld/ELF/Options.td index 4b8b1b9..e30ec84 100644 --- a/lld/ELF/Options.td +++ b/lld/ELF/Options.td @@ -197,6 +197,7 @@ def alias_l__library : Joined<["--"], "library=">, Alias; def alias_o_output : Joined<["--"], "output=">, Alias; def alias_pie_pic_executable: Flag<["--"], "pic-executable">, Alias; def alias_relocatable_r : Flag<["-"], "r">, Alias; +def alias_rpath_R : Joined<["-"], "R">, Alias; def alias_rpath_rpath : Joined<["-"], "rpath=">, Alias; def alias_script_T : JoinedOrSeparate<["-"], "T">, Alias