Print this page
native tools must reliably use a native adjunct, even if that's inconvenient
While it is perhaps convenient for native tools to use updated versions
of certain things like libxml it is imperative that those versions are
_also_ build for the build machine. Thus they need to be in the native
adjunct (even if that native adjunct is thus not /).
Fix the native adjunct to be rooted similarly to the adjunct proto (that
is, at /), and fix SMF to use it correctly
@@ -39,10 +39,10 @@
-_gcc=-nostdinc \
-I../../common \
-I$(SRC) \
-I/usr/include \
-I$(SRC)/uts/common \
- -I$(NATIVE_ADJUNCT)/include
+ -I$(NATIVE_ADJUNCT)/usr/include
CPPFLAGS += $(HDRDIRS)
CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-parentheses