From 31d70f7c67d1ea0b920538d50001b8e26d013d28 Mon Sep 17 00:00:00 2001
From: Boris Kolpackov <boris@codesynthesis.com>
Date: Fri, 24 Feb 2012 10:04:19 +0200
Subject: C++11 support (pass --std ODB compiler option in build makefiles)

---
 view/makefile | 5 +++++
 1 file changed, 5 insertions(+)

(limited to 'view/makefile')

diff --git a/view/makefile b/view/makefile
index 5973060..641d4cd 100644
--- a/view/makefile
+++ b/view/makefile
@@ -107,7 +107,12 @@ $(call include,$(bld_root)/meta/vc9proj.make)
 $(call include,$(bld_root)/meta/vc10proj.make)
 $(call include,$(bld_root)/meta/automake.make)
 
+$(call include,$(bld_root)/cxx/standard.make) # cxx_standard
+ifdef cxx_standard
+$(gen): odb_options += --std $(cxx_standard)
 $(call include,$(odb_rules))
+endif
+
 $(call include,$(bld_root)/cxx/cxx-d.make)
 $(call include,$(bld_root)/cxx/cxx-o.make)
 $(call include,$(bld_root)/cxx/o-e.make)
-- 
cgit v1.1