Skip to content

Commit a664071

Browse files
authored
Move self.cflags to the very end, to override any of our own logic
1 parent 397c52e commit a664071

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tools/jit/_targets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,9 +157,9 @@ async def _compile(
157157
"-o",
158158
f"{o}",
159159
f"{c}",
160+
*self.args,
160161
# Allow user-provided CFLAGS to override any defaults
161162
*shlex.split(self.cflags),
162-
*self.args,
163163
]
164164
await _llvm.run("clang", args, echo=self.verbose)
165165
return await self._parse(o)

0 commit comments

Comments
 (0)