Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/xlint/xlint Undefine SSE stuff; we don't want portab...



details:   https://anonhg.NetBSD.org/src/rev/9c55cdc4cea0
branches:  trunk
changeset: 840665:9c55cdc4cea0
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Apr 13 15:08:49 2019 +0000

description:
Undefine SSE stuff; we don't want portable code to depend on it and we
don't provide the necessary headers.

diffstat:

 usr.bin/xlint/xlint/xlint.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r 28c968f4e67e -r 9c55cdc4cea0 usr.bin/xlint/xlint/xlint.c
--- a/usr.bin/xlint/xlint/xlint.c       Sat Apr 13 12:41:36 2019 +0000
+++ b/usr.bin/xlint/xlint/xlint.c       Sat Apr 13 15:08:49 2019 +0000
@@ -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 @@
 #else
        appcstrg(&cflags, "-U__GNUC__");
        appcstrg(&cflags, "-U__PCC__");
+       appcstrg(&cflags, "-U__SSE__");
+       appcstrg(&cflags, "-U__SSE4_1__");
 #endif
 #if 0
        appcstrg(&cflags, "-Wp,-$");



Home | Main Index | Thread Index | Old Index