Skip to content

Commit 2f7de0a

Browse files
committed
Fixed -fPIC
Signed-off-by: Gregory Shimansky <[email protected]>
1 parent 45d26b3 commit 2f7de0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/triton/runtime/build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def _cc_cmd(cc, src, out, include_dirs, library_dirs, libraries):
3939
else:
4040
cc_cmd = [cc, src, "-O3", "-shared", "-Wno-psabi"]
4141
if os.name != "nt":
42-
cc_cmd += ["fPIC"]
42+
cc_cmd += ["-fPIC"]
4343
cc_cmd += [f'-l{lib}' for lib in libraries]
4444
cc_cmd += [f"-L{dir}" for dir in library_dirs]
4545
cc_cmd += [f"-I{dir}" for dir in include_dirs]

0 commit comments

Comments
 (0)