From f6ff3abc3a7ee63fcf279e68ef802a12d94adf08 Mon Sep 17 00:00:00 2001 From: Nick Lewycky Date: Sat, 4 Jun 2011 06:48:26 +0000 Subject: [PATCH] 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 --- include/clang/Driver/Options.td | 1 + 1 file changed, 1 insertion(+) 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">; -- 2.40.0