[cfe-commits] r62824 - /cfe/trunk/tools/ccc/ccclib/Tools.py
Daniel Dunbar
daniel at zuster.org
Thu Jan 22 16:39:52 PST 2009
Author: ddunbar
Date: Thu Jan 22 18:39:52 2009
New Revision: 62824
URL: http://llvm.org/viewvc/llvm-project?rev=62824&view=rev
Log:
ccc: Darwin/x86/link: Fix a few incompatibilities with gcc (missed
forwarding -s to linker, and was only taking last arg in some cases
when should have been taking all).
Modified:
cfe/trunk/tools/ccc/ccclib/Tools.py
Modified: cfe/trunk/tools/ccc/ccclib/Tools.py
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/ccc/ccclib/Tools.py?rev=62824&r1=62823&r2=62824&view=diff
==============================================================================
--- cfe/trunk/tools/ccc/ccclib/Tools.py (original)
+++ cfe/trunk/tools/ccc/ccclib/Tools.py Thu Jan 22 18:39:52 2009
@@ -989,14 +989,15 @@
# FIXME: gcc has %{x} in here. How could this ever happen?
# Cruft?
- arglist.addLastArg(cmd_args, arglist.parser.dGroup)
- arglist.addLastArg(cmd_args, arglist.parser.tOption)
- arglist.addLastArg(cmd_args, arglist.parser.ZOption)
+ arglist.addAllArgs(cmd_args, arglist.parser.dOption)
+ arglist.addAllArgs(cmd_args, arglist.parser.sOption)
+ arglist.addAllArgs(cmd_args, arglist.parser.tOption)
+ arglist.addAllArgs(cmd_args, arglist.parser.ZOption)
arglist.addAllArgs(cmd_args, arglist.parser.uGroup)
- arglist.addLastArg(cmd_args, arglist.parser.AOption)
+ arglist.addAllArgs(cmd_args, arglist.parser.AOption)
arglist.addLastArg(cmd_args, arglist.parser.eOption)
- arglist.addLastArg(cmd_args, arglist.parser.mOption)
- arglist.addLastArg(cmd_args, arglist.parser.rOption)
+ arglist.addAllArgs(cmd_args, arglist.parser.mOption)
+ arglist.addAllArgs(cmd_args, arglist.parser.rOption)
cmd_args.extend(arglist.render(output))
More information about the cfe-commits
mailing list