ccc: When constructing a named output, only use base name (not full
path). llvm-svn: 62083
This commit is contained in:
parent
e42e520a57
commit
f12e40736a
|
|
@ -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...
|
||||
|
|
|
|||
Loading…
Reference in New Issue