pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/llvm lang/llvm: convert to using mk/atomic64.mk.
details: https://anonhg.NetBSD.org/pkgsrc/rev/3a4050bd9ee7
branches: trunk
changeset: 382829:3a4050bd9ee7
user: he <he%pkgsrc.org@localhost>
date: Sat Aug 06 16:49:59 2022 +0000
description:
lang/llvm: convert to using mk/atomic64.mk.
diffstat:
lang/llvm/Makefile | 7 ++++---
lang/llvm/hacks.mk | 12 ------------
2 files changed, 4 insertions(+), 15 deletions(-)
diffs (42 lines):
diff -r 87c728be055c -r 3a4050bd9ee7 lang/llvm/Makefile
--- a/lang/llvm/Makefile Sat Aug 06 16:49:06 2022 +0000
+++ b/lang/llvm/Makefile Sat Aug 06 16:49:59 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.72 2022/07/09 08:16:02 wiz Exp $
+# $NetBSD: Makefile,v 1.73 2022/08/06 16:49:59 he Exp $
#
# when updating this, please also update:
# devel/include-what-you-use
@@ -107,8 +107,8 @@
.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"
@@ -129,4 +129,5 @@
.include "../../lang/python/application.mk"
.include "../../lang/python/tool.mk"
.include "../../textproc/libxml2/buildlink3.mk"
+.include "../../mk/atomic64.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 87c728be055c -r 3a4050bd9ee7 lang/llvm/hacks.mk
--- a/lang/llvm/hacks.mk Sat Aug 06 16:49:06 2022 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,12 +0,0 @@
-# $NetBSD: hacks.mk,v 1.1 2020/09/20 09:37:17 he Exp $
-
-.if !defined(LLVM_HACKS_MK)
-LLVM_HACKS_MK= defined
-
-# [Sun Sep 20 11:08:39 CEST 2020 : he]
-# On NetBSD/powerpc, use devel/libatomic to get 8-byte atomics.
-.if ${MACHINE_ARCH} == "powerpc"
-.include "../../devel/libatomic/buildlink3.mk"
-.endif
-
-.endif # LLVM_HACKS_MK
Home |
Main Index |
Thread Index |
Old Index