#996741 libtool: Missing CPPFLAGS at link step

#996741#5
Date:
2021-10-18 00:08:54 UTC
From:
To:
Hello,

While building libraries:

https://buildd.debian.org/status/fetch.php?pkg=speech-dispatcher&arch=amd64&ver=0.11.0~rc3-1&stamp=1634514330&raw=0

libtool compiles some fooS.c files taking into account the CFLAGS, but
not the CPPFLAGS:

libtool: link: (cd .libs && gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -fno-builtin "sd_dummyS.c")
[...]

blhc thus complains about it, because then there is not FORTIFY macro
defined etc.

Samuel