Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl3/gcc/lib/libgcc Fix build with MKDEBUG=yes for ...



details:   https://anonhg.NetBSD.org/src/rev/784f950c5b41
branches:  trunk
changeset: 1020731:784f950c5b41
user:      rin <rin%NetBSD.org@localhost>
date:      Sat Apr 24 06:34:52 2021 +0000

description:
Fix build with MKDEBUG=yes for aarch64.

diffstat:

 external/gpl3/gcc/lib/libgcc/Makefile.inc |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r a8838736cad2 -r 784f950c5b41 external/gpl3/gcc/lib/libgcc/Makefile.inc
--- a/external/gpl3/gcc/lib/libgcc/Makefile.inc Sat Apr 24 06:32:09 2021 +0000
+++ b/external/gpl3/gcc/lib/libgcc/Makefile.inc Sat Apr 24 06:34:52 2021 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.49 2021/04/17 22:01:02 mrg Exp $
+#      $NetBSD: Makefile.inc,v 1.50 2021/04/24 06:34:52 rin Exp $
 
 LIBGCC_MACHINE_ARCH?=${MACHINE_ARCH:S/earmv5/earm/}
 GCC_MACHINE_SUBDIR=${MACHINE_CPU:C/powerpc.*/rs6000/:C/x86_64/i386/}
@@ -197,6 +197,11 @@
        ${_MKTARGET_COMPILE}
        ${COMPILE.S} ${CPPFLAGS.${.TARGET:T:.o=}} -o ${.TARGET} ${LSE_SRC}
 
+${LSE_NAMES:=.go}: ${LSE_SRC} Makefile
+       ${_MKTARGET_COMPILE}
+       ${COMPILE.S} ${DEBUGFLAGS} ${CPPFLAGS.${.TARGET:T:.go=}} -o ${.TARGET} \
+               ${LSE_SRC}
+
 # lse-init.c currently compiles to nothing for us
 G_LIB2ADD+=    ${GNUHOSTDIST}/libgcc/config/aarch64/lse-init.c
 



Home | Main Index | Thread Index | Old Index