summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormrg <mrg@NetBSD.org>2014-10-10 20:23:22 +0000
committermrg <mrg@NetBSD.org>2014-10-10 20:23:22 +0000
commit5ef7dfee178aa2ae2244566f15f74f5aed2bc445 (patch)
treed4586f63c659362af8720fbef0e55866ebdf18e0
parent694a18785e4ea21c958c7aae6632daf5a3d68372 (diff)
add --enable-libstdcxx-time=rt for the GCC 4.8 build.
-rw-r--r--tools/gcc/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/gcc/Makefile b/tools/gcc/Makefile
index 4db75055b1e..e8769e92434 100644
--- a/tools/gcc/Makefile
+++ b/tools/gcc/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.71 2014/09/03 19:25:29 matt Exp $
+# $NetBSD: Makefile,v 1.72 2014/10/10 20:23:22 mrg Exp $
.include <bsd.own.mk>
@@ -49,6 +49,10 @@ COMMON_CONFIGURE_ARGS+= --with-arch=${GCC_CONFIG_ARCH.${MACHINE_ARCH}}
COMMON_CONFIGURE_ARGS+= --with-tune=${GCC_CONFIG_TUNE.${MACHINE_ARCH}}
.endif
+.if ${HAVE_GCC} == 48
+COMMON_CONFIGURE_ARGS+= --enable-libstdcxx-time=rt
+.endif
+
CONFIGURE_ARGS= ${COMMON_CONFIGURE_ARGS}
CONFIGURE_ARGS+= \
--with-sysroot=${DESTDIR} \