Skip to content

Commit fa846c0

Browse files
committed
Add no-pie
1 parent 792b0ad commit fa846c0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

build.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,8 @@ fn main() -> Result<(), Box<dyn Error>> {
153153
println!("cargo:rustc-link-lib=metis");
154154
}
155155

156+
println!("cargo:rustc-link-arg=-no-pie");
157+
156158
let target = env::var("TARGET").unwrap();
157159
let apple = target.contains("apple");
158160
let linux = target.contains("linux");

0 commit comments

Comments
 (0)