Module Name: src Committed By: christos Date: Sat Apr 13 15:08:49 UTC 2019
Modified Files: src/usr.bin/xlint/xlint: xlint.c Log Message: Undefine SSE stuff; we don't want portable code to depend on it and we don't provide the necessary headers. To generate a diff of this commit: cvs rdiff -u -r1.46 -r1.47 src/usr.bin/xlint/xlint/xlint.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/usr.bin/xlint/xlint/xlint.c diff -u src/usr.bin/xlint/xlint/xlint.c:1.46 src/usr.bin/xlint/xlint/xlint.c:1.47 --- src/usr.bin/xlint/xlint/xlint.c:1.46 Sat Dec 24 12:43:45 2016 +++ src/usr.bin/xlint/xlint/xlint.c Sat Apr 13 11:08:49 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: xlint.c,v 1.46 2016/12/24 17:43:45 christos Exp $ */ +/* $NetBSD: xlint.c,v 1.47 2019/04/13 15:08:49 christos Exp $ */ /* * Copyright (c) 1996 Christopher G. Demetriou. All Rights Reserved. @@ -38,7 +38,7 @@ #include <sys/cdefs.h> #if defined(__RCSID) && !defined(lint) -__RCSID("$NetBSD: xlint.c,v 1.46 2016/12/24 17:43:45 christos Exp $"); +__RCSID("$NetBSD: xlint.c,v 1.47 2019/04/13 15:08:49 christos Exp $"); #endif #include <sys/param.h> @@ -350,6 +350,8 @@ main(int argc, char *argv[]) #else appcstrg(&cflags, "-U__GNUC__"); appcstrg(&cflags, "-U__PCC__"); + appcstrg(&cflags, "-U__SSE__"); + appcstrg(&cflags, "-U__SSE4_1__"); #endif #if 0 appcstrg(&cflags, "-Wp,-$");