I don't know the build system for this program (and this is a generic bug template so I cannot tell you which program exactly is), but my tests shows that it's not respecting CFLAGS properly. Please look into it, since it's important to respect user CFLAGS. Thanks, Diego
post information on why you think it isnt respecting flags. looks like it works to me and it's been that way for a long time. if you're just writing a script, you need to review the output to avoid a shit ton of false positives which just wastes other people's time.
Hrm, I found the problem: my script assumes that CFLAGS gets set during src_compile, while here they are hardset during src_unpack(). I'd debate that I'm still correct here since after an ebuild $foo unpack I wouldt expect my CFLAGS to be respected again, but I admit it's semantic at this point.
no, flag setting in src_unpack is valid and fully supported if you do it in src_compile, then you cannot repeat the step with the same result if something like "append-flags" were used ... you'd keep appending the value over and over