pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/llvm llvm: use simpler means of determining NetBS...
details: https://anonhg.NetBSD.org/pkgsrc/rev/38cd9c96e215
branches: trunk
changeset: 384412:38cd9c96e215
user: gutteridge <gutteridge%pkgsrc.org@localhost>
date: Thu Sep 01 01:32:29 2022 +0000
description:
llvm: use simpler means of determining NetBSD version
And reflect the rough release when GCC went past 7.
diffstat:
lang/llvm/Makefile | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (19 lines):
diff -r 2da357b9eb22 -r 38cd9c96e215 lang/llvm/Makefile
--- a/lang/llvm/Makefile Thu Sep 01 01:24:14 2022 +0000
+++ b/lang/llvm/Makefile Thu Sep 01 01:32:29 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.79 2022/08/30 07:13:02 he Exp $
+# $NetBSD: Makefile,v 1.80 2022/09/01 01:32:29 gutteridge Exp $
#
# When updating this, please also update:
# devel/include-what-you-use
@@ -118,8 +118,7 @@
# Needed to avoid "relocation truncated to fit: R_PPC_REL24"
CFLAGS+= -mlongcall
CXXFLAGS+= -mlongcall
-. if ${OPSYS} == "NetBSD"
-. if empty(OS_VERSION:M8.*) && empty(OS_VERSION:M9.[012345678]*)
+. if ${OPSYS} == "NetBSD" && ${OPSYS_VERSION} >= 099917
# The -mno-pltseq option is not available in gcc7, but is needed for
# the above-mentioned relocation truncation issue in newer GCC
CFLAGS+= -mno-pltseq
Home |
Main Index |
Thread Index |
Old Index