Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/xen/conf Restrict -mno-fp-ret-in-387 to GCC.
details: https://anonhg.NetBSD.org/src/rev/816ee86b8dbe
branches: trunk
changeset: 330774:816ee86b8dbe
user: joerg <joerg%NetBSD.org@localhost>
date: Sun Jul 20 16:51:29 2014 +0000
description:
Restrict -mno-fp-ret-in-387 to GCC.
diffstat:
sys/arch/xen/conf/Makefile.xen | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 9823417c9620 -r 816ee86b8dbe sys/arch/xen/conf/Makefile.xen
--- a/sys/arch/xen/conf/Makefile.xen Sun Jul 20 16:40:34 2014 +0000
+++ b/sys/arch/xen/conf/Makefile.xen Sun Jul 20 16:51:29 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.xen,v 1.36 2014/07/17 10:49:45 bouyer Exp $
+# $NetBSD: Makefile.xen,v 1.37 2014/07/20 16:51:29 joerg Exp $
# NetBSD: Makefile.i386,v 1.132 2003/07/05 16:56:10 simonb Exp
# Makefile for NetBSD
@@ -48,7 +48,7 @@
CFLAGS+= -mcmodel=kernel
CFLAGS+= -mno-red-zone -mno-mmx -mno-sse -mno-avx
CFLAGS+= -msoft-float
-CFLAGS+= -mno-fp-ret-in-387
+CFLAGS+= ${${ACTIVE_CC} == "gcc":? -mno-fp-ret-in-387 :}
.endif
.if ${XEN_BUILD} == "i386"
Home |
Main Index |
Thread Index |
Old Index