Module Name:    src
Committed By:   martin
Date:           Sun Dec 31 12:41:02 UTC 2023

Modified Files:
        src/lib/libm [netbsd-10]: Makefile

Log Message:
Pull up following revision(s) (requested by jklos in ticket #529):

        lib/libm/Makefile: revision 1.223

Fix building with M68040 and M68060 options.


To generate a diff of this commit:
cvs rdiff -u -r1.218.2.2 -r1.218.2.3 src/lib/libm/Makefile

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

Modified files:

Index: src/lib/libm/Makefile
diff -u src/lib/libm/Makefile:1.218.2.2 src/lib/libm/Makefile:1.218.2.3
--- src/lib/libm/Makefile:1.218.2.2	Sun Oct  8 18:48:20 2023
+++ src/lib/libm/Makefile	Sun Dec 31 12:41:02 2023
@@ -1,4 +1,4 @@
-#  $NetBSD: Makefile,v 1.218.2.2 2023/10/08 18:48:20 martin Exp $
+#  $NetBSD: Makefile,v 1.218.2.3 2023/12/31 12:41:02 martin Exp $
 #
 #  @(#)Makefile 5.1beta 93/09/24
 #
@@ -144,14 +144,14 @@ SUBDIR=arch/i387
 .if defined(M68060)
 .PATH:	${.CURDIR}/arch/m68060
 .include "${.CURDIR}/arch/m68060/Makefile.list"
-COPTS+=-m68060
+COPTS+= -m68060
 .PATH:	${.CURDIR}/arch/m68k
 ARCH_SRCS += s_ceil.S s_copysign.S s_finite.S s_floor.S s_rint.S
 .elif defined(M68040)
 .PATH: ${.CURDIR}/arch/m68k
-COPTS+=-m68040
+COPTS+= -m68040
 ARCH_SRCS = s_copysign.S s_finite.S
-.else
+.endif
 .if (${MKSOFTFLOAT} == "no")
 .PATH:	${.CURDIR}/arch/mc68881 ${.CURDIR}/arch/m68k
 ARCH_SRCS = e_acos.S e_asin.S e_atanh.S e_cosh.S e_exp.S e_fmod.S e_log.S \
@@ -160,7 +160,6 @@ ARCH_SRCS = e_acos.S e_asin.S e_atanh.S 
 	    s_log1p.S s_logb.S s_rint.S s_scalbn.S s_sin.S s_tan.S s_tanh.S
 COMMON_SRCS += fenv.c s_nexttoward.c s_rintl.c
 .endif
-.endif
 # end of m68k
 
 .elif (${LIBC_MACHINE_ARCH} == "vax")

Reply via email to