diff --git a/src/gallium/auxiliary/gallivm/lp_bld_sample_soa.c b/src/gallium/auxiliary/gallivm/lp_bld_sample_soa.c index 31cf74f0ceb..3a8327d8305 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_sample_soa.c +++ b/src/gallium/auxiliary/gallivm/lp_bld_sample_soa.c @@ -3320,7 +3320,7 @@ lp_build_sample_soa_func(struct gallivm_state *gallivm, } LLVMSetFunctionCallConv(function, LLVMFastCallConv); - LLVMSetLinkage(function, LLVMPrivateLinkage); + LLVMSetLinkage(function, LLVMInternalLinkage); lp_build_sample_gen_func(gallivm, static_texture_state,