diff --git a/debian/rules b/debian/rules index f8ba52676..f12693016 100755 --- a/debian/rules +++ b/debian/rules @@ -121,6 +121,9 @@ LD_EXTRA_OPTS := $(shell dpkg-buildflags --get LDFLAGS) # https://wiki.debian.org/ReproducibleBuilds/ CC_EXTRA_OPTS += -DVERSION_NODATE +# Disable unsafe signal handlers +CC_EXTRA_OPTS += -DNO_SIG_DEBUG + # Fix for UDP buffer issue when TLS is enabled CC_EXTRA_OPTS += -pthread -DKSR_PTHREAD_MUTEX_SHARED LD_EXTRA_OPTS += -pthread -rdynamic -ldl -Wl,-Bsymbolic-functions