t4kcommon: add u8_mbtouc_unsafe workaround (#405634)

This commit is contained in:
Aaron Andersen
2025-05-09 16:59:31 -04:00
committed by GitHub
+1 -2
View File
@@ -38,8 +38,7 @@ stdenv.mkDerivation rec {
# gcc-10. Otherwise build fails as:
# ld: CMakeFiles/t4k_common.dir/t4k_throttle.c.o:(.bss+0x0): multiple definition of
# `wrapped_lines'; CMakeFiles/t4k_common.dir/t4k_audio.c.o:(.bss+0x0): first defined here
# TODO: revisit https://github.com/tux4kids/t4kcommon/pull/10 when merged.
env.NIX_CFLAGS_COMPILE = "-fcommon";
env.NIX_CFLAGS_COMPILE = "-fcommon -DGNULIB_UNISTR_U8_MBTOUC_UNSAFE -Wno-incompatible-pointer-types";
nativeBuildInputs = [
cmake