Module Name:    src
Committed By:   christos
Date:           Wed Aug 28 11:54:43 UTC 2024

Modified Files:
        src/lib: Makefile

Log Message:
Fix gdb's llvm build


To generate a diff of this commit:
cvs rdiff -u -r1.300 -r1.301 src/lib/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/Makefile
diff -u src/lib/Makefile:1.300 src/lib/Makefile:1.301
--- src/lib/Makefile:1.300	Mon Jul  1 00:03:03 2024
+++ src/lib/Makefile	Wed Aug 28 07:54:43 2024
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.300 2024/07/01 04:03:03 mrg Exp $
+#	$NetBSD: Makefile,v 1.301 2024/08/28 11:54:43 christos Exp $
 #	from: @(#)Makefile	5.25.1.1 (Berkeley) 5/7/91
 
 .include <bsd.own.mk>
@@ -97,18 +97,13 @@ SUBDIR+=	../external/bsd/jemalloc/lib
 .if (${MKGCC} != "no")
 SUBDIR+=	../external/gpl3/${EXTERNAL_GCC_SUBDIR}/lib/libobjc
 SUBDIR+=	../external/gpl3/${EXTERNAL_GCC_SUBDIR}/lib/libgomp
-# Should probably move GMP, MPFR and MPC builds into the GCC >= 4.5
-# specific build area, but we get better parallelism this way.
-# We don't build compat versions of these.
-. if !defined(MLIBDIR) && (${MKGCCCMDS} != "no")
-SUBDIR+=	../external/lgpl3/mpfr/lib/libmpfr
-SUBDIR+=	../external/lgpl3/mpc/lib/libmpc
-. endif
 .endif
 
 # GCC and GDB >= 13 require GMP.
-.if !defined(MLIBDIR) && (${MKGCCCMDS} != "no" || \
-    (${MKGDB} != "no" && ${HAVE_GDB:U0} >= 1320))
+# We don't build compat versions of these
+.if !defined(MLIBDIR) && (${MKGCCCMDS} != "no" || ${MKGDB} != "no")
+SUBDIR+=	../external/lgpl3/mpfr/lib/libmpfr
+SUBDIR+=	../external/lgpl3/mpc/lib/libmpc
 SUBDIR+=	../external/lgpl3/gmp/lib/libgmp
 .endif
 

Reply via email to