80722788
by Helmut Grohne at 2023-03-03T17:54:41+01:00
disable -Werror when dpkg-builflags contains -Wno-error
Building glibc with a different toolchain tends to produce new warnings
that are turned into build failures via -Werror. Instead, we typically
want such builds to succeed. Thus we allow disabling -Werror by adding
-Wno-error to dpkg-buildflags (which usually emits neither -Werror nor
-Wno-error).
Suggested-by: Steve Langasek <vorlon@debian.org>
Link: https://lists.debian.org/debian-devel/2023/02/msg00355.html