From a3873423d6bbd6bef00ea97bd6b2bf6bad31f498 Mon Sep 17 00:00:00 2001 From: Duarte Nunes Date: Tue, 28 Feb 2017 00:50:28 +0100 Subject: [PATCH] configure.py: Enable concepts support This patch enables conditional concept support by propagating seastar's --enable-gcc6-concepts flag. Signed-off-by: Duarte Nunes Message-Id: <20170227235028.27490-1-duarte@scylladb.com> --- configure.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/configure.py b/configure.py index 5fbe71cdba..155a870dcb 100755 --- a/configure.py +++ b/configure.py @@ -281,6 +281,8 @@ arg_parser.add_argument('--python', action = 'store', dest = 'python', default = help = 'Python3 path') add_tristate(arg_parser, name = 'hwloc', dest = 'hwloc', help = 'hwloc support') add_tristate(arg_parser, name = 'xen', dest = 'xen', help = 'Xen support') +arg_parser.add_argument('--enable-gcc6-concepts', dest='gcc6_concepts', action='store_true', default=False, + help='enable experimental support for C++ Concepts as implemented in GCC 6') args = arg_parser.parse_args() defines = [] @@ -730,6 +732,8 @@ if args.staticcxx: seastar_flags += ['--static-stdc++'] if args.staticboost: seastar_flags += ['--static-boost'] +if args.gcc6_concepts: + seastar_flags += ['--enable-gcc6-concepts'] seastar_cflags = args.user_cflags + " -march=nehalem" seastar_flags += ['--compiler', args.cxx, '--cflags=%s' % (seastar_cflags)]