From: Eli Friedman Date: Tue, 2 Jun 2009 05:46:32 +0000 (+0000) Subject: Add --shared option. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ddd1fb674eb54711d2504fe6c7fb9e3d10acff6a;p=clang Add --shared option. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72716 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Driver/Options.def b/include/clang/Driver/Options.def index cd046bc930..c2981b934f 100644 --- a/include/clang/Driver/Options.def +++ b/include/clang/Driver/Options.def @@ -225,6 +225,7 @@ OPTION("--profile", _profile, Flag, INVALID, p, "", 0, 0, 0) OPTION("--resource=", _resource_EQ, Joined, INVALID, fcompile_resource_EQ, "", 0, 0, 0) OPTION("--resource", _resource, Separate, INVALID, fcompile_resource_EQ, "J", 0, 0, 0) OPTION("--save-temps", _save_temps, Flag, INVALID, save_temps, "", 0, 0, 0) +OPTION("--shared", _shared, Flag, INVALID, shared, "", 0, 0, 0) OPTION("--specs=", _specs_EQ, Joined, INVALID, specs_EQ, "u", 0, 0, 0) OPTION("--specs", _specs, Separate, INVALID, specs_EQ, "uJ", 0, 0, 0) OPTION("--static", _static, Flag, INVALID, static, "", 0, 0, 0)