pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/llvm



Module Name:    pkgsrc
Committed By:   gutteridge
Date:           Thu Sep  1 01:32:29 UTC 2022

Modified Files:
        pkgsrc/lang/llvm: Makefile

Log Message:
llvm: use simpler means of determining NetBSD version

And reflect the rough release when GCC went past 7.


To generate a diff of this commit:
cvs rdiff -u -r1.79 -r1.80 pkgsrc/lang/llvm/Makefile

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

Modified files:

Index: pkgsrc/lang/llvm/Makefile
diff -u pkgsrc/lang/llvm/Makefile:1.79 pkgsrc/lang/llvm/Makefile:1.80
--- pkgsrc/lang/llvm/Makefile:1.79      Tue Aug 30 07:13:02 2022
+++ pkgsrc/lang/llvm/Makefile   Thu Sep  1 01:32:29 2022
@@ -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 @@ CXXFLAGS+=  -march=i586
 # 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