Source-Changes-HG archive

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

[src/trunk]: src/external/gpl3/gcc/lib/libstdc++-v3/include/bits/arch c++conf...



details:   https://anonhg.NetBSD.org/src/rev/cdf583392bed
branches:  trunk
changeset: 320640:cdf583392bed
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Jul 15 00:18:13 2018 +0000

description:
c++config for 32/64 arm

diffstat:

 external/gpl3/gcc/lib/libstdc++-v3/include/bits/arch/Makefile         |  9 +++++----
 external/gpl3/gcc/lib/libstdc++-v3/include/bits/arch/aarch64/Makefile |  4 ++++
 external/gpl3/gcc/lib/libstdc++-v3/include/bits/arch/arm/Makefile     |  4 ++++
 3 files changed, 13 insertions(+), 4 deletions(-)

diffs (39 lines):

diff -r b02bf0df296a -r cdf583392bed external/gpl3/gcc/lib/libstdc++-v3/include/bits/arch/Makefile
--- a/external/gpl3/gcc/lib/libstdc++-v3/include/bits/arch/Makefile     Sat Jul 14 23:49:20 2018 +0000
+++ b/external/gpl3/gcc/lib/libstdc++-v3/include/bits/arch/Makefile     Sun Jul 15 00:18:13 2018 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.3 2014/09/19 17:23:24 matt Exp $
+#      $NetBSD: Makefile,v 1.4 2018/07/15 00:18:13 christos Exp $
 
 # install multilib c++config.h files
 
@@ -27,9 +27,10 @@
 CXXCONFIGARGS= riscv64 _LP64 riscv32
 .endif
 
-# XXX arm variants are missing, but hopefully won't need them
-# until aarch64 anyway.
-
+.if ${MACHINE_ARCH} == "aarch64"
+SUBDIR=                arm aarch64
+CXXCONFIGARGS= aarch64 _LP64 arm
+.endif
 
 # now install the generated front end
 
diff -r b02bf0df296a -r cdf583392bed external/gpl3/gcc/lib/libstdc++-v3/include/bits/arch/aarch64/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/gpl3/gcc/lib/libstdc++-v3/include/bits/arch/aarch64/Makefile     Sun Jul 15 00:18:13 2018 +0000
@@ -0,0 +1,4 @@
+#      $NetBSD: Makefile,v 1.1 2018/07/15 00:18:13 christos Exp $
+
+GCC_MACHINE_ARCH=aarch64
+.include "../Makefile.arch_bits"
diff -r b02bf0df296a -r cdf583392bed external/gpl3/gcc/lib/libstdc++-v3/include/bits/arch/arm/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/gpl3/gcc/lib/libstdc++-v3/include/bits/arch/arm/Makefile Sun Jul 15 00:18:13 2018 +0000
@@ -0,0 +1,4 @@
+#      $NetBSD: Makefile,v 1.1 2018/07/15 00:18:13 christos Exp $
+
+GCC_MACHINE_ARCH=arm
+.include "../Makefile.arch_bits"



Home | Main Index | Thread Index | Old Index