7439 libsqlite always rebuilds after illumos 6648
Review Request #223 - Created Sept. 30, 2016 and submitted
The reason this happens is that CFLAGS is an inherited macro that's set differently (via conditional assignment involving PICFLAGS) when we're building the pic/*.o library objects vs. building the lint libraries etc.
Before #6648 was fixed, this makefile omitted CFLAGS, which masked this problem.
Have a fix which prevents PICFLAGS inheritance when building the "lemon" tool.
Build twice in $SRC/lib/libsqlite
I reviewed this initially, and am still scared by the fact it works, but I'm happy with the fact it does work.
It seems like it working (or not working, or in fact being different) suggests there's a bug in make somewhere :(