From: Nuno Lopes Date: Tue, 2 Dec 2008 18:19:03 +0000 (+0000) Subject: llvm-ld doesnt support '-g', so aovid passing that opt to it X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a44c2789244e1acf0205d00f763d6a7c1212b241;p=clang llvm-ld doesnt support '-g', so aovid passing that opt to it git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@60428 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/utils/ccc b/utils/ccc index 1a7fea415a..6e423691ec 100755 --- a/utils/ccc +++ b/utils/ccc @@ -259,7 +259,6 @@ def main(args): # wrong. if arg in ('-g', '-gdwarf-2'): compile_opts.append('-g') - link_opts.append(arg) # Options with one argument that should pass through to compiler if arg in [ '-include', '-idirafter', '-iprefix',