[lld] r190301 - Recognize -Bstatic as alias for -static, clang uses it.
Joerg Sonnenberger
joerg at bec.de
Mon Sep 9 04:48:43 PDT 2013
Author: joerg
Date: Mon Sep 9 06:48:43 2013
New Revision: 190301
URL: http://llvm.org/viewvc/llvm-project?rev=190301&view=rev
Log:
Recognize -Bstatic as alias for -static, clang uses it.
Modified:
lld/trunk/lib/Driver/GnuLdOptions.td
Modified: lld/trunk/lib/Driver/GnuLdOptions.td
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/Driver/GnuLdOptions.td?rev=190301&r1=190300&r2=190301&view=diff
==============================================================================
--- lld/trunk/lib/Driver/GnuLdOptions.td (original)
+++ lld/trunk/lib/Driver/GnuLdOptions.td Mon Sep 9 06:48:43 2013
@@ -48,6 +48,7 @@ def rpath_link : Separate<["-"], "rpath-
def soname : Separate<["-"], "soname">;
def static : Flag<["-"], "static">;
+def Bstatic : Flag<["-"], "Bstatic">, Alias<static>;
def shared : Flag<["-"], "shared">;
def Bshareable : Flag<["-"], "Bshareable">, Alias<shared>;
def start_group : Flag<["--"], "start-group">;
More information about the llvm-commits
mailing list