From: Nick Lewycky Date: Sat, 4 Jun 2011 06:48:26 +0000 (+0000) Subject: GCC passes -z foo directly through to the linker (and yes -z=foo becomes X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f6ff3abc3a7ee63fcf279e68ef802a12d94adf08;p=clang GCC passes -z foo directly through to the linker (and yes -z=foo becomes "-z =foo"). Do the same thing in clang. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@132630 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Driver/Options.td b/include/clang/Driver/Options.td index 23b351c78a..bdb163247f 100644 --- a/include/clang/Driver/Options.td +++ b/include/clang/Driver/Options.td @@ -679,6 +679,7 @@ def x : JoinedOrSeparate<"-x">, Flags<[DriverOption]>, HelpText<"Treat subsequent input files as having type ">, MetaVarName<"">; def y : Joined<"-y">; +def z : JoinedOrSeparate<"-z">, Flags<[LinkerInput, RenderSeparate]>; def working_directory : Separate<"-working-directory">, HelpText<"Resolve file paths relative to the specified directory">;