Skip to content

Commit b3b3e07

Browse files
authored
Fix mupdf build with clang 17 on macOS (#133)
1 parent 60061f0 commit b3b3e07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mupdf-sys/build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ fn build_libmupdf() {
116116
for (feature, flag, make_flag, define) in CPU_FLAGS {
117117
let contains = target_features.contains(feature);
118118
if contains {
119-
build.flag(flag);
119+
build.flag_if_supported(flag);
120120

121121
make_flags.push(format!("{make_flag}=yes"));
122122
}

0 commit comments

Comments
 (0)