Tune COPTS for alpha

This commit is contained in:
martin 2014-04-28 08:46:35 +00:00
parent 36cb4c7daa
commit 511cd1dbe5
2 changed files with 7 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.156 2014/04/01 19:12:37 christos Exp $
# $NetBSD: Makefile,v 1.157 2014/04/28 08:47:43 martin Exp $
#
# @(#)Makefile 5.1beta 93/09/24
#
@ -53,6 +53,7 @@ LINTFLAGS += -g
.if (${MACHINE_ARCH} == "alpha")
.PATH: ${.CURDIR}/arch/alpha
ARCH_SRCS = s_copysign.S s_copysignf.S lrint.S
COPTS+= -mfloat-ieee -mieee-with-inexact -mfp-trap-mode=sui -mtrap-precision=i
.elif (${MACHINE_CPU} == "arm")
.PATH: ${.CURDIR}/arch/arm
COMMON_SRCS+= fenv.c s_nexttowardf.c \

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.21 2014/03/03 12:15:27 martin Exp $
# $NetBSD: Makefile,v 1.22 2014/04/28 08:46:35 martin Exp $
.include <bsd.own.mk>
@ -10,6 +10,10 @@ TESTSDIR= ${TESTSBASE}/lib/libm
CPPFLAGS+= -DHAVE_FENV_H
.endif
.if ${MACHINE} == "alpha"
COPTS+= -mfloat-ieee -mieee-with-inexact -mfp-trap-mode=sui -mtrap-precision=i
.endif
TESTS_C+= t_acos
TESTS_C+= t_asin
TESTS_C+= t_atan