summaryrefslogtreecommitdiff
path: root/usr/src
diff options
context:
space:
mode:
authorRobert Mustacchi <rm@fingolfin.org>2022-09-12 22:29:23 +0000
committerDan McDonald <danmcd@mnx.io>2022-09-12 19:53:12 -0400
commite8361e97ee39989e8b7c7fc302adfcf285d03dfc (patch)
treedc33d4c1b0e3026d59771e0512895ee1f56ab713 /usr/src
parent920ee8aa55ad6d75d178844ba75e28ef7f3010ca (diff)
downloadillumos-joyent-e8361e97ee39989e8b7c7fc302adfcf285d03dfc.tar.gz
14821 Add additional AVX512 capabilities
14822 Need new word of hardware capabilities 14823 aux vector feature mapping should use x86_featureset (fix up elfcap.chk CPPFLAGS)
Diffstat (limited to 'usr/src')
-rw-r--r--usr/src/cmd/sgs/elfcap.chk/Makefile9
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 =