From fc96a263a11483b8e93da577e25aa74aba8cd2c1 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Fri, 2 Oct 2015 14:25:26 +0000 Subject: [PATCH] Ignore options used during a clang build. llvm-svn: 249135 --- lld/ELF/Options.td | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lld/ELF/Options.td b/lld/ELF/Options.td index e0b08a95342b..14b0d5f7f02a 100644 --- a/lld/ELF/Options.td +++ b/lld/ELF/Options.td @@ -78,13 +78,16 @@ def alias_l : Joined<["--"], "library=">, Alias; def alias_soname : Separate<["-"], "h">, Alias; // Options listed below are silently ignored now. +def O3 : Flag<["-"], "O3">; def as_needed : Flag<["--"], "as-needed">; def build_id : Flag<["--"], "build-id">; def eh_frame_hdr : Flag<["--"], "eh-frame-hdr">; def end_group : Flag<["--"], "end-group">; +def gc_sections : Flag<["--"], "gc-sections">; def hash_style : Joined<["--"], "hash-style=">; def m : Separate<["-"], "m">; def no_add_needed : Flag<["--"], "no-add-needed">; def no_as_needed : Flag<["--"], "no-as-needed">; def start_group : Flag<["--"], "start-group">; +def strip_all : Flag<["--"], "strip-all">; def z : Separate<["-"], "z">;