pkgsrc-WIP-changes archive

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

rust199: fix build for powerpc by adding -mno-pltseq.



Module Name:	pkgsrc-wip
Committed By:	Havard Eidnes <he%NetBSD.org@localhost>
Pushed By:	he
Date:		Sun Oct 4 15:02:14 2026 +0000
Changeset:	37f08ec1118c90f191c1780f4badc11d09b98629

Modified Files:
	rust199/files/gcc-wrap

Log Message:
rust199: fix build for powerpc by adding -mno-pltseq.

This is required due to the new gcc which comes along with NetBSD 10.0,
which is now the target for this rust build due to the requirement for
a newer gcc to build the embedded LLVM.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=37f08ec1118c90f191c1780f4badc11d09b98629

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

diffstat:
 rust199/files/gcc-wrap | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diffs:
diff --git a/rust199/files/gcc-wrap b/rust199/files/gcc-wrap
index 48cf4af822..f308a68675 100644
--- a/rust199/files/gcc-wrap
+++ b/rust199/files/gcc-wrap
@@ -35,7 +35,7 @@ else
 		mips64*)	madd="-msoft-float"
 				;;
 		powerpc*)	# Now needed due to bloat
-				madd="-mlongcall"
+				madd="-mlongcall -mno-pltseq"
 				;;
 		m68k-*)	# needed due to exceeding 16-bit offsets
 			# ref.


Home | Main Index | Thread Index | Old Index