pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
+USE_CC_FEATURES+= c17
Hi, Greg, thanks for response,
https://users.rust-lang.org/t/how-to-cross-compile-rust-program-for-non-linux-os-with-gcc-toolchain-for-aarch64/94835
mentions C11/C++17 compiler,
and
https://doc.rust-lang.org/rustc/platform-support.html
does not seems to mention any similar things.
Following are on NetBSD/amd64 9.
1. c11/C++17
does not make things (the same situation as 9.4 pbulk build)
2. c17/c++17
packages fine
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/lang/rust/Makefile,v
retrieving revision 1.334
diff -u -r1.334 Makefile
--- Makefile 9 May 2025 19:37:13 -0000 1.334
+++ Makefile 21 May 2025 14:18:00 -0000
@@ -15,6 +15,7 @@
# LLVM uses -std=c++17
USE_CXX_FEATURES+= c++17
+USE_CC_FEATURES+= c17
USE_GCC_RUNTIME= yes
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
--
Makoto Fujiwara
mef%NetBSD.org@localhost
makoto%if.t.u-tokyo.ac.jp@localhost
Home |
Main Index |
Thread Index |
Old Index