Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
target: x86_64-apple-darwin
nobgt: 0
no_tests: 1
tag: macos-13
tag: macos-15-intel
- name: x86_64-unknown-linux-gnu (nightly)
target: x86_64-unknown-linux-gnu
nobgt: 0
Expand Down
4 changes: 3 additions & 1 deletion jemalloc-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,10 @@ fn main() {
.map(|s| s.to_str().unwrap())
.collect::<Vec<_>>()
.join(" ");
let ldflags = read_and_watch_env("LDFLAGS").unwrap_or_else(|_| cflags.clone());
info!("CC={:?}", compiler.path());
info!("CFLAGS={:?}", cflags);
info!("LDFLAGS={:?}", ldflags);

assert!(out_dir.exists(), "OUT_DIR does not exist");
let jemalloc_repo_dir = PathBuf::from("jemalloc");
Expand Down Expand Up @@ -197,7 +199,7 @@ fn main() {
.current_dir(&build_dir)
.env("CC", compiler.path())
.env("CFLAGS", cflags.clone())
.env("LDFLAGS", cflags.clone())
.env("LDFLAGS", ldflags.clone())
.env("CPPFLAGS", cflags)
.arg(format!("--with-version={je_version}"))
.arg("--disable-cxx")
Expand Down