From 48b5a338260db5f08cfb336e8183d21c7d528da2 Mon Sep 17 00:00:00 2001 From: Nuno Lopes Date: Tue, 2 Dec 2008 18:19:03 +0000 Subject: [PATCH] llvm-ld doesnt support '-g', so aovid passing that opt to it llvm-svn: 60428 --- clang/utils/ccc | 1 - 1 file changed, 1 deletion(-) diff --git a/clang/utils/ccc b/clang/utils/ccc index 1a7fea415a4a..6e423691ecda 100755 --- a/clang/utils/ccc +++ b/clang/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',