Skip to content

Commit 7f64774

Browse files
committed
use cc instead of gcc
1 parent 7062556 commit 7f64774

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/StaticCompiler.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ function generate_shlib(f, tt, path::String = tempname(), name = GPUCompiler.saf
153153
end
154154
catch e;
155155
# if Clang_jll fails, check if gcc is available
156-
run(`gcc -shared -o $lib_path $obj_path`)
156+
run(`cc -shared -o $lib_path $obj_path`)
157157
end
158158
end
159159
path, name
@@ -196,5 +196,4 @@ function native_llvm_module(f, tt, name = GPUCompiler.safe_name(repr(f)); kwargs
196196
return m
197197
end
198198

199-
200199
end # module

0 commit comments

Comments
 (0)