#1099103 acm: build dis_relay with default build flags

#1099103#5
Date:
2025-02-28 12:00:44 UTC
From:
To:
Hi,

acm correctly uses the default build flags set by dpkg-buildflags when
building acm.o (and others). For example, on arm64:

 gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>/src/acm=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c acm.c -o acm.o

However, when building dis_relay the default flags are overridden:

 gcc -Wall -Werror -g -fmax-errors=99 -Wuninitialized -Wmissing-prototypes -Wredundant-decls -c dis_relay.c -o dis_relay.o

Please ensure that acm honors CFLAGS when building dis_relay too.

Thanks!
  Emanuele