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',