Merge pull request #62 from jocelyn-stericker/fpic
Use position independent code (-fPIC)
This commit is contained in:
commit
192e37c53f
1 changed files with 2 additions and 0 deletions
|
|
@ -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?)");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue