Bug#1113763: noiz2sa: do not override CFLAGS

Emanuele Rocca ema at debian.org
Tue Sep 2 09:59:00 BST 2025


Source: noiz2sa
Version: 0.51a-13
User: debian-arm at lists.debian.org
Usertags: pac-bti
Tags: patch

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


More information about the Pkg-games-devel mailing list