7439 libsqlite always rebuilds after illumos 6648
Review Request #223 — Created Sept. 30, 2016 and submitted
Information | |
---|---|
gwr | |
illumos-gate | |
7439 | |
Reviewers | |
general | |
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
-
-
usr/src/lib/libsqlite/Makefile.com (Diff revision 1) on this line you can use:
$(NATIVECC) $(NATIVE_CFLAGS) -o $@ $<others - LGTM