Hi,
noiz2sa correctly honors the default build flags set by dpkg-buildflags
when building code written in C++, for example:
make[2]: Entering directory '/build/reproducible-path/noiz2sa-0.51a/src/bulletml/tinyxml'
g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/noiz2sa-0.51a=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/noiz2sa-0.51a=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard tinyxml.cpp -o tinyxml.o
It does not, however, honor CFLAGS:
make[2]: Entering directory '/build/reproducible-path/noiz2sa-0.51a/src'
gcc `sdl-config --cflags` -Wl,-z,relro `sdl-config --cflags` -Wl,-z,relro -I/usr/include -c -o noiz2sa.o noiz2sa.c
Please consider applying the attached patch.
Thanks,
Emanuele