On Thu, 25 Aug 2016, Martin Winter wrote:

They suggest to put
        AC_PROG_CC_STDC
after
         AC_PROG_CC

We do something similar, but probably should use that, or AC_PROG_CC_C99. That only affects the default CFLAGS that Quagga's configure sets. A user can still override it themselves - and that facility should probably stay.

Did my way to build packages break this?

Some of the package builds seems to set their own CFLAGS, in the environment or calling configure. And if they don't put -std={c,gnu}99 in, then GCC bombs out.

It could be something in whatever distro packaging building tools I guess. Distros often have their own opinions about compiler flags.

regards,
--
Paul Jakma | p...@jakma.org | @pjakma | Key ID: 0xD86BF79464A2FF6A
Fortune:
... A booming voice says, "Wrong, cretin!", and you notice that you
have turned into a pile of dust.

_______________________________________________
Quagga-dev mailing list
Quagga-dev@lists.quagga.net
https://lists.quagga.net/mailman/listinfo/quagga-dev

Reply via email to