#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

# GCC 15 defaults to C23, where an empty parameter list "f()" in a function
# declaration means "no parameters".  This 2008-era codebase uses old-style
# empty-paren declarations (e.g. getGPSTime() in gpsinfo.h) that are called
# with arguments; pin -std=gnu17 to restore the old "unspecified parameters"
# semantics for the whole tree (fixes FTBFS too many arguments ... expected 0).
export CFLAGS := $(CFLAGS) -std=gnu17

%:
	dh  $@
