allow old code to get compiled

This commit is contained in:
geos_one 2025-08-08 22:05:44 +02:00
parent 72c9c68b44
commit 4fbb6eb853

6
debian/rules vendored
View File

@ -1,6 +1,12 @@
#!/usr/bin/make -f #!/usr/bin/make -f
export DH_VERBOSE=1 export DH_VERBOSE=1
# Make sure the decades-old source code gets compiled by allowing implicit
# function declarations and, for gcc-14 and above, by downgrading the
# diagnostics applied by the compiler. See
# https://gcc.gnu.org/onlinedocs/gcc-14.1.0/gcc/Warning-Options.html
# for further details.
export DEB_CFLAGS_MAINT_STRIP=-Werror=implicit-function-declaration
%: %:
dh $@ dh $@