Module Name:    src
Committed By:   mrg
Date:           Wed Jul  3 06:26:03 UTC 2024

Modified Files:
        src/lib/libm: Makefile

Log Message:
move a COPTS setting after bsd.own.mk.

the riscv64 compat build trips on this saying:
   bsd.rv32.mk" line 25: while evaluating variable "COPTS": while evaluating 
condition " == "gcc"": Bad condition


To generate a diff of this commit:
cvs rdiff -u -r1.238 -r1.239 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.238 src/lib/libm/Makefile:1.239
--- src/lib/libm/Makefile:1.238	Mon Jun 10 12:49:29 2024
+++ src/lib/libm/Makefile	Wed Jul  3 06:26:03 2024
@@ -1,4 +1,4 @@
-#  $NetBSD: Makefile,v 1.238 2024/06/10 12:49:29 riastradh Exp $
+#  $NetBSD: Makefile,v 1.239 2024/07/03 06:26:03 mrg Exp $
 #
 #  @(#)Makefile 5.1beta 93/09/24
 #
@@ -14,7 +14,6 @@
 #
 
 NOSANITIZER=		# defined
-COPTS+=			${${ACTIVE_CC} == "gcc":? -frounding-math :}
 
 #
 # There are two options in making libm at fdlibm compile time:
@@ -76,6 +75,8 @@ EXPSYM_SRC_MD=	m.${LIBC_MACHINE_CPU}.exp
 # determined.)
 LIB_EXPSYM=	m.expsym
 
+COPTS+=	${${ACTIVE_CC} == "gcc":? -frounding-math :}
+
 .if (${LIBC_MACHINE_CPU} == "aarch64")
 .PATH: ${.CURDIR}/arch/aarch64
 ARCH_SRCS = e_sqrt.S e_sqrtf.S s_fabsf.S

Reply via email to