diff options
author | he <he@pkgsrc.org> | 2022-08-06 16:49:59 +0000 |
---|---|---|
committer | he <he@pkgsrc.org> | 2022-08-06 16:49:59 +0000 |
commit | ebaec9127092b2087e6a35dea514a4216ccad645 (patch) | |
tree | 0f739806ca31cd624e1d4028f00dbc69a1fbcead /lang | |
parent | b3d21635de3b739c00dadfb61398dd16f40fc856 (diff) | |
download | pkgsrc-ebaec9127092b2087e6a35dea514a4216ccad645.tar.gz |
lang/llvm: convert to using mk/atomic64.mk.
Diffstat (limited to 'lang')
-rw-r--r-- | lang/llvm/Makefile | 7 | ||||
-rw-r--r-- | lang/llvm/hacks.mk | 12 |
2 files changed, 4 insertions, 15 deletions
diff --git a/lang/llvm/Makefile b/lang/llvm/Makefile index df229295fe3..37ecd861f98 100644 --- a/lang/llvm/Makefile +++ b/lang/llvm/Makefile @@ -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 @@ 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" @@ -129,4 +129,5 @@ post-extract: .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 --git a/lang/llvm/hacks.mk b/lang/llvm/hacks.mk deleted file mode 100644 index c8daa58455c..00000000000 --- a/lang/llvm/hacks.mk +++ /dev/null @@ -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 |