diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2014-09-10 04:40:03 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2014-09-10 04:40:03 +0000 |
commit | 6035d6e0c03ddd2212fd90cfc067d40cb3809341 (patch) | |
tree | efebda07aeb580abeb9ac2bb4f5fb018d3a82ffc /gnu/usr.bin | |
parent | 0656460ad9b8a81b76e35a88c751b59420f4a449 (diff) |
Add cpuid.h from clang r197399 with additional feature bits,
and defines for compatibility with the equivalent gcc header.
cpuid.h was introduced in gcc 4.3 and a compatible header has
been included with recent versions of clang.
Earlier version ok miod@. Tested in a ports bulk build by landry@.
Diffstat (limited to 'gnu/usr.bin')
-rw-r--r-- | gnu/usr.bin/cc/include/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/usr.bin/cc/include/Makefile b/gnu/usr.bin/cc/include/Makefile index 561ba13cc7a..874deb9f92a 100644 --- a/gnu/usr.bin/cc/include/Makefile +++ b/gnu/usr.bin/cc/include/Makefile @@ -1,5 +1,5 @@ # $FreeBSD: src/gnu/usr.bin/cc/include/Makefile,v 1.9.8.1 2009/04/15 03:14:26 kensmith Exp $ -# $OpenBSD: Makefile,v 1.9 2010/05/17 18:17:55 naddy Exp $ +# $OpenBSD: Makefile,v 1.10 2014/09/10 04:40:02 jsg Exp $ .include <bsd.own.mk> @@ -10,7 +10,7 @@ INCS?= .if ${TARGET_ARCH} == "i386" || ${TARGET_ARCH} == "amd64" -INCS= emmintrin.h mmintrin.h pmmintrin.h xmmintrin.h mm_malloc.h +INCS= cpuid.h emmintrin.h mmintrin.h pmmintrin.h xmmintrin.h mm_malloc.h .elif ${TARGET_ARCH} == "arm" INCS= mmintrin.h .elif ${TARGET_ARCH} == "powerpc" |