Beef the compile flags by using the same set recommended by systemd, it uses attribute.m4 from the xine project to check supported flags.