We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b19eb6 commit 2982743Copy full SHA for 2982743
driver/utils.py
@@ -191,7 +191,9 @@ def getOutputFilename(self):
191
if self.outputFilename is not None:
192
return self.outputFilename
193
elif self.isCompileOnly:
194
- (root, ext) = os.path.splitext(self.inputFiles[0])
+ #iam: -c but no -o, therefore the obj should end up in the cwd.
195
+ (path, base) = os.path.split(self.inputFiles[0])
196
+ (root, ext) = os.path.splitext(base)
197
return '{0}.o'.format(root)
198
else:
199
return 'a.out'
0 commit comments