提交 789f36a5 authored 作者: Frederic Bastien's avatar Frederic Bastien

fix gcc warning.

上级 acac8a60
...@@ -78,7 +78,7 @@ def ldflags(libs=True, flags=False, libs_dir=False, include_dir=False): ...@@ -78,7 +78,7 @@ def ldflags(libs=True, flags=False, libs_dir=False, include_dir=False):
rval.append(t) rval.append(t)
elif flags and t1 == 'L': elif flags and t1 == 'L':
#to find it when we load the compiled op if the env of the used is not well configured. #to find it when we load the compiled op if the env of the used is not well configured.
rval.append('-Xlinker,-rpath,'+t[2:]) rval.append('-Wl,-rpath,'+t[2:])
return rval return rval
class GemmRelated(Op): class GemmRelated(Op):
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论