Skip to content

Commit fbf26aa

Browse files
don't fallback to cflags
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> Signed-off-by: Dylan Abraham <dylan@momentohq.com>
1 parent fabd9f3 commit fbf26aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jemalloc-sys/build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ fn main() {
157157
let cflags = compiler.cflags_env();
158158
let ldflags = read_and_watch_env("LDFLAGS")
159159
.map(OsString::from)
160-
.unwrap_or_else(|_| cflags.clone());
160+
.unwrap_or_default();
161161

162162
// Use cc_env() to get the full CC value including any wrapper (e.g. sccache).
163163
// cc_env() returns empty when no wrapper is configured, so fall back to path().

0 commit comments

Comments
 (0)