ccc: When constructing a named output, only use base name (not full

path).

llvm-svn: 62083
This commit is contained in:
Daniel Dunbar 2009-01-12 07:48:07 +00:00
parent e42e520a57
commit f12e40736a
1 changed files with 1 additions and 1 deletions

View File

@ -675,7 +675,7 @@ class Driver(object):
output = finalOutput
# Contruct a named destination?
elif atTopLevel or hasSaveTemps:
output = args.makeSeparateArg(namedOutput,
output = args.makeSeparateArg(os.path.basename(namedOutput),
self.parser.oOption)
else:
# Output to temp file...