aboutsummaryrefslogtreecommitdiff
path: root/boost/mysql
diff options
context:
space:
mode:
Diffstat (limited to 'boost/mysql')
-rw-r--r--boost/mysql/date-time/makefile5
-rw-r--r--boost/mysql/template/makefile5
2 files changed, 10 insertions, 0 deletions
diff --git a/boost/mysql/date-time/makefile b/boost/mysql/date-time/makefile
index 9d9449b..7889b7f 100644
--- a/boost/mysql/date-time/makefile
+++ b/boost/mysql/date-time/makefile
@@ -109,7 +109,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)
diff --git a/boost/mysql/template/makefile b/boost/mysql/template/makefile
index 875ca60..5ec5934 100644
--- a/boost/mysql/template/makefile
+++ b/boost/mysql/template/makefile
@@ -105,7 +105,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)