Fix cross build of systemd 254.6
This commit is contained in:
parent
7ad1b54572
commit
6f6e735ba7
@ -10,4 +10,12 @@ final: prev:
|
|||||||
# Check with: riscv64-unknown-elf-objdump -d -M no-aliases rotate
|
# Check with: riscv64-unknown-elf-objdump -d -M no-aliases rotate
|
||||||
];
|
];
|
||||||
});
|
});
|
||||||
|
|
||||||
|
# Fix GCC 13 format-overflow warning/error:
|
||||||
|
# ../src/shared/install.c:444:64: error: ‘%s’ directive argument is null [-Werror=format-overflow=]
|
||||||
|
# 444 | err = log_error_errno(changes[i].type, "Failed to %s unit, unit %s does not exist.",
|
||||||
|
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
systemd = prev.systemd.overrideAttrs (old: {
|
||||||
|
CFLAGS = "-Wno-error=format-overflow";
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user