Merge pull request #62 from jocelyn-stericker/fpic

Use position independent code (-fPIC)
This commit is contained in:
0/0 2023-05-29 02:14:13 +00:00 committed by GitHub
commit 192e37c53f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -104,6 +104,8 @@ fn main() {
#[cfg(feature = "opencl")]
cmd.arg("-DWHISPER_CLBLAST=ON");
cmd.arg("-DCMAKE_POSITION_INDEPENDENT_CODE=ON");
let code = cmd
.status()
.expect("Failed to run `cmake` (is CMake installed?)");