Skip to content

Commit d0e6298

Browse files
committed
Fixes #90. GCC backend does not get output flag.
1 parent 1e13414 commit d0e6298

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

vunit/ghdl_interface.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ def simulate(self, # pylint: disable=too-many-arguments, too-many-locals
170170
cmd += ['--workdir=%s' % self._libraries[library_name]]
171171
cmd += ['-P%s' % path for path in self._libraries.values()]
172172

173-
if self._backend == "llvm":
173+
if self._has_output_flag():
174174
cmd += ['-o', join(ghdl_output_path, "%s-%s" % (entity_name, architecture_name))]
175175

176176
cmd += [entity_name, architecture_name]

0 commit comments

Comments
 (0)