]> granicus.if.org Git - clang/commitdiff
ccc: Spell mattr correctly.
authorDaniel Dunbar <daniel@zuster.org>
Fri, 20 Feb 2009 07:47:48 +0000 (07:47 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Fri, 20 Feb 2009 07:47:48 +0000 (07:47 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65119 91177308-0d34-0410-b5e6-96231b3b80d8

tools/ccc/ccclib/Tools.py

index 040cfac8519a314d96b99cb9881029c790bcccfc..a9db01ac124f4c52bd27261be6a646f0bccf3dbb 100644 (file)
@@ -332,7 +332,7 @@ class Clang_CompileTool(Tool):
                 elif arglist.getLastArg(neg):
                     attrs.append('-' + flag)
             if attrs:
-                cmd_args.append('--mattrs=%s' % ','.join(attrs))
+                cmd_args.append('--mattr=%s' % ','.join(attrs))
 
             if arglist.hasFFlag(arglist.parser.f_mathErrnoOption,
                                 arglist.parser.f_noMathErrnoOption,