pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/libcxx libcxx: pull in compiler.mk for CC_VERSION



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4c133951a603
branches:  trunk
changeset: 383182:4c133951a603
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Sun Aug 14 14:15:48 2022 +0000

description:
libcxx: pull in compiler.mk for CC_VERSION

diffstat:

 lang/libcxx/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 7afe4efd8a36 -r 4c133951a603 lang/libcxx/Makefile
--- a/lang/libcxx/Makefile      Sun Aug 14 13:52:26 2022 +0000
+++ b/lang/libcxx/Makefile      Sun Aug 14 14:15:48 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2022/08/14 13:52:26 tnn Exp $
+# $NetBSD: Makefile,v 1.15 2022/08/14 14:15:48 tnn Exp $
 
 .include "../../lang/llvm/version.mk"
 PKGREVISION=   1
@@ -47,6 +47,8 @@
 # avoid conflict with stddef.h
 CXXFLAGS.NetBSD+=      -D__DEFINED_max_align_t=1
 
+.include "../../mk/compiler.mk"
+
 .if !empty(CC_VERSION:Mgcc-[0-9].*) || !empty(CC_VERSION:Mgcc-10.*)
 # Avoid GCC < 11 error https://github.com/llvm/llvm-project/issues/54018
 CXXFLAGS+=             -std=c++17 -D_LIBCPP_STD_VER=17



Home | Main Index | Thread Index | Old Index