Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
LiliDeng committed Dec 18, 2024
1 parent 13393a7 commit dbdc319
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lisa/tools/netperf.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,8 @@ def _install_from_src(self) -> None:
).assert_exit_code()
arguments = ""
# fix compile issue when gcc version >= 10
if self.node.tools[Gcc].get_version() >= "10.0.0":
arguments = "CFLAGS=-fcommon"
# if self.node.tools[Gcc].get_version() >= "10.0.0":
# arguments = "CFLAGS=-fcommon"
make.make_install(code_path, arguments=arguments)
self.node.execute(
"ln -s /usr/local/bin/netperf /usr/bin/netperf", sudo=True, cwd=code_path
Expand Down

0 comments on commit dbdc319

Please sign in to comment.