aboutsummaryrefslogtreecommitdiff
path: root/oracle
diff options
context:
space:
mode:
Diffstat (limited to 'oracle')
-rw-r--r--oracle/template/makefile5
-rw-r--r--oracle/types/makefile5
2 files changed, 10 insertions, 0 deletions
diff --git a/oracle/template/makefile b/oracle/template/makefile
index 35530bc..f3cf5e2 100644
--- a/oracle/template/makefile
+++ b/oracle/template/makefile
@@ -95,7 +95,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/oracle/types/makefile b/oracle/types/makefile
index 89f8e0b..da385ea 100644
--- a/oracle/types/makefile
+++ b/oracle/types/makefile
@@ -97,7 +97,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)