app-admin/logrotate lists four .c files in a single command (and tries to output them to .depend). This fails when using the "gcc -combine" CFLAGS. Would it please be possible to strip the argument -combine from CFLAGS dynamically for this package? Reproducible: Always Steps to Reproduce: 1. Set CFLAGS to include -combine in /etc/make.conf 2. Emerge logrotate 3. Watch it fail on emake Actual Results: emake fails Expected Results: It compiles, installs, etc. It is desirable to fix this in the autotool configuration upstream, until this happens it would probably make sense to filter -combine.
There is no upstream and no autotool support. I have no plans to work on the build system, since logrotate is in deep maintenance at this point. I have to wonder if putting -combine in CFLAGS is of any use whatsoever. It seems like it will either do noting (autotool'd packages only ever pass one file at a time) or break (like this does). Nevertheless, I've added a strip-flags to 2.7.2 without a bump. It works in my testing.