aboutsummaryrefslogtreecommitdiff
path: root/boost/mssql
diff options
context:
space:
mode:
Diffstat (limited to 'boost/mssql')
-rw-r--r--boost/mssql/date-time/makefile5
-rw-r--r--boost/mssql/template/makefile5
2 files changed, 10 insertions, 0 deletions
diff --git a/boost/mssql/date-time/makefile b/boost/mssql/date-time/makefile
index 7713edc..ab68ca6 100644
--- a/boost/mssql/date-time/makefile
+++ b/boost/mssql/date-time/makefile
@@ -110,7 +110,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/mssql/template/makefile b/boost/mssql/template/makefile
index 184a324..19ff1db 100644
--- a/boost/mssql/template/makefile
+++ b/boost/mssql/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)