Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/rust rust: uses -std=c++14



details:   https://anonhg.NetBSD.org/pkgsrc/rev/90565e6f2889
branches:  trunk
changeset: 434851:90565e6f2889
user:      nia <nia%pkgsrc.org@localhost>
date:      Wed Jun 24 09:46:26 2020 +0000

description:
rust: uses -std=c++14

diffstat:

 lang/rust/Makefile   |  5 ++++-
 lang/rust/options.mk |  4 +---
 2 files changed, 5 insertions(+), 4 deletions(-)

diffs (37 lines):

diff -r cfc220144e8d -r 90565e6f2889 lang/rust/Makefile
--- a/lang/rust/Makefile        Wed Jun 24 06:34:13 2020 +0000
+++ b/lang/rust/Makefile        Wed Jun 24 09:46:26 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.180 2020/06/14 15:33:27 nia Exp $
+# $NetBSD: Makefile,v 1.181 2020/06/24 09:46:26 nia Exp $
 
 DISTNAME=      rustc-1.43.1-src
 PKGNAME=       ${DISTNAME:S/rustc/rust/:S/-src//}
@@ -13,6 +13,9 @@
 
 CONFLICTS+=    rust-bin-[0-9]*
 
+# uses -std=c++14
+GCC_REQD+=     5
+
 USE_GCC_RUNTIME=       yes
 USE_LANGUAGES=         c c++11
 USE_LIBTOOL=           yes
diff -r cfc220144e8d -r 90565e6f2889 lang/rust/options.mk
--- a/lang/rust/options.mk      Wed Jun 24 06:34:13 2020 +0000
+++ b/lang/rust/options.mk      Wed Jun 24 09:46:26 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.6 2020/02/21 16:04:50 adam Exp $
+# $NetBSD: options.mk,v 1.7 2020/06/24 09:46:26 nia Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.rust
 PKG_SUPPORTED_OPTIONS= # empty
@@ -21,8 +21,6 @@
 # This contains some extra optimizations.
 #
 .if !empty(PKG_OPTIONS:Mrust-llvm)
-# LLVM uses -std=c++11
-GCC_REQD+=     4.8
 BUILD_DEPENDS+=        cmake-[0-9]*:../../devel/cmake
 .include "../../devel/cmake/buildlink3.mk"
 .else



Home | Main Index | Thread Index | Old Index