提交 3f69f7e0 authored 作者: Frederic's avatar Frederic

Do not reorder user compiler flag.

上级 770598ef
...@@ -719,9 +719,11 @@ class CLinker(link.Linker): ...@@ -719,9 +719,11 @@ class CLinker(link.Linker):
pass pass
c_compiler = self.c_compiler() c_compiler = self.c_compiler()
ret += c_compiler.compile_args()
ret = list(set(ret)) # to remove duplicate ret = list(set(ret)) # to remove duplicate
# The args set by the compiler include the user flags. We do not want
# to reorder them
ret += c_compiler.compile_args()
for x in [y.type for y in self.variables] + [ for x in [y.type for y in self.variables] + [
y.op for y in self.node_order]: y.op for y in self.node_order]:
try: try:
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论