Module Name:    src
Committed By:   joerg
Date:           Sun Jul 20 16:51:29 UTC 2014

Modified Files:
        src/sys/arch/xen/conf: Makefile.xen

Log Message:
Restrict -mno-fp-ret-in-387 to GCC.


To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 src/sys/arch/xen/conf/Makefile.xen

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/xen/conf/Makefile.xen
diff -u src/sys/arch/xen/conf/Makefile.xen:1.36 src/sys/arch/xen/conf/Makefile.xen:1.37
--- src/sys/arch/xen/conf/Makefile.xen:1.36	Thu Jul 17 10:49:45 2014
+++ src/sys/arch/xen/conf/Makefile.xen	Sun Jul 20 16:51:29 2014
@@ -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 @@ CPPFLAGS+=	-Dx86_64
 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"

Reply via email to