NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: port-mac68k/59393 mac68k build with MKSOFTFLOAT=yes breaks during build
The following reply was made to PR port-mac68k/59393; it has been noted by GNATS.
From: Nat Sloss <nathanialsloss%yahoo.com.au@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: port-mac68k/59393 mac68k build with MKSOFTFLOAT=yes breaks during build
Date: Sun, 6 Jul 2025 19:24:10 +1000
--Boundary-00=_8Ckao3/YSBk5bOG
Content-Type: Text/Plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
I'd like to commit the following patch as it fixes the build for m68k and
softfloat.
See attached:
Thoughts?
Best regards,
Nat
--Boundary-00=_8Ckao3/YSBk5bOG
Content-Type: text/x-patch;
charset="ISO-8859-1";
name="softfloat-buildfix.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="softfloat-buildfix.diff"
diff -r 6207e84534b9 regress/sys/kern/getcwd/Makefile
--- a/regress/sys/kern/getcwd/Makefile Fri Jul 04 09:28:18 2025 +0000
+++ b/regress/sys/kern/getcwd/Makefile Sun Jul 06 19:22:45 2025 +1000
@@ -2,6 +2,9 @@
NOMAN= # defined
LDSTATIC= -static
+.if ${MKSOFTFLOAT} != "no" && ${MACHINE_ARCH} == "m68k"
+LDFLAGS= -Wl,--allow-multiple-definition
+.endif
PROG= getcwd
SRCS= getcwd.c old_getcwd.c
--Boundary-00=_8Ckao3/YSBk5bOG--
Home |
Main Index |
Thread Index |
Old Index