Skip to content

Commit

Permalink
Fixes #90. GCC backend does not get output flag.
Browse files Browse the repository at this point in the history
  • Loading branch information
kraigher committed Dec 20, 2015
1 parent 1e13414 commit d0e6298
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vunit/ghdl_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ def simulate(self, # pylint: disable=too-many-arguments, too-many-locals
cmd += ['--workdir=%s' % self._libraries[library_name]]
cmd += ['-P%s' % path for path in self._libraries.values()]

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

cmd += [entity_name, architecture_name]
Expand Down

0 comments on commit d0e6298

Please sign in to comment.