aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNuno Lopes <nunoplopes@sapo.pt>2008-12-02 18:19:03 +0000
committerNuno Lopes <nunoplopes@sapo.pt>2008-12-02 18:19:03 +0000
commita44c2789244e1acf0205d00f763d6a7c1212b241 (patch)
treeb2a1838e7145a285557b0d4e1096ed396b8d375e
parent3539cdb98b1132d30795f932920ff1c90f94b4e8 (diff)
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
-rwxr-xr-xutils/ccc1
1 files changed, 0 insertions, 1 deletions
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',