pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
llvm: add -mno-pltseq on powerpc -- build fix to avoid relocation truncation.
Module Name: pkgsrc-wip
Committed By: Havard Eidnes <he%NetBSD.org@localhost>
Pushed By: he
Date: Sat Aug 6 21:27:21 2022 +0200
Changeset: b868810217fdd8a2c20b6a0d9d34623ab6e530d6
Modified Files:
llvm/Makefile
Log Message:
llvm: add -mno-pltseq on powerpc -- build fix to avoid relocation truncation.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=b868810217fdd8a2c20b6a0d9d34623ab6e530d6
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
llvm/Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diffs:
diff --git a/llvm/Makefile b/llvm/Makefile
index 82ae89457a..ea46f9ca71 100644
--- a/llvm/Makefile
+++ b/llvm/Makefile
@@ -104,8 +104,8 @@ CXXFLAGS+= -march=i586
.if !empty(MACHINE_ARCH:Mpowerpc*)
# Needed to avoid "relocation truncated to fit: R_PPC_REL24"
-CFLAGS+= -mlongcall
-CXXFLAGS+= -mlongcall
+CFLAGS+= -mlongcall -mno-pltseq
+CXXFLAGS+= -mlongcall -mno-pltseq
.endif
.if ${OPSYS} == "NetBSD"
Home |
Main Index |
Thread Index |
Old Index