7439 libsqlite always rebuilds after illumos 6648
Review Request #223 — Created Sept. 30, 2016 and submitted — Latest diff uploaded
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