diff options
author | Robert Mustacchi <rm@fingolfin.org> | 2022-09-12 22:29:23 +0000 |
---|---|---|
committer | Robert Mustacchi <rm@fingolfin.org> | 2022-09-20 14:52:49 +0000 |
commit | 73ef486937f03be7d079065dda822f13cc8f6470 (patch) | |
tree | 5464e616ef99be060039fc84737aa202e8fda3d9 /usr | |
parent | 663b59f48c396b41650fffe9e2f20a85e9710c85 (diff) | |
download | illumos-gate-73ef486937f03be7d079065dda822f13cc8f6470.tar.gz |
14969 Improve elfcap.chk CPPFLAGS
Reviewed by: Gordon Ross <gordon.w.ross@gmail.com>
Reviewed by: Dan McDonald <danmcd@mnx.io>
Approved by: Joshua M. Clulow <josh@sysmgr.org>
Diffstat (limited to 'usr')
-rw-r--r-- | usr/src/cmd/sgs/elfcap.chk/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/usr/src/cmd/sgs/elfcap.chk/Makefile b/usr/src/cmd/sgs/elfcap.chk/Makefile index 9e446ff0e3..304347784c 100644 --- a/usr/src/cmd/sgs/elfcap.chk/Makefile +++ b/usr/src/cmd/sgs/elfcap.chk/Makefile @@ -22,7 +22,14 @@ include ../Makefile.com CSTD = $(GNU_C99) NATIVE_LIBS += libc.so -CPPFLAGS = $(CPPFLAGS.native) +# +# We reach into the tools include area which provides us with a snapshot +# of all of the data that we need. This does mean that if someone is in +# bldenv and does incremental builds that change the related ELF header +# files they will need to rebuild that, but the same is true if we move +# this into tools (and it becomes more annoying). +# +CPPFLAGS = -I$(SRC)/tools/sgs/include $(CPPFLAGS.native) CFLAGS = $(NATIVE_CFLAGS) CC = $(NATIVECC) LDCHECKS = |