summaryrefslogtreecommitdiff
path: root/odb/makefile
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-11-07 10:37:53 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-11-07 10:37:53 +0200
commit6e374de9ae2f2978f2fca3390aba4ea3f72bfade (patch)
treea603c240f79494e0139445c20f63f32db04d5277 /odb/makefile
parentfde4431ec608b467de6ab205e3f73848fe9efbdf (diff)
Switch to C++11, get rid of auto_ptr use
Diffstat (limited to 'odb/makefile')
-rw-r--r--odb/makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/odb/makefile b/odb/makefile
index 5a67fec..cd952f6 100644
--- a/odb/makefile
+++ b/odb/makefile
@@ -294,7 +294,13 @@ $(call include,$(bld_root)/cxx/o-e.make)
#
ifdef cxx_gnu
-$(cxx_pobj) $(cxx_cobj): cxx_pic_options := -fPIC
+$(odb) $(odb_so) \
+$(cxx_pobj) $(cxx_pod) \
+$(cxx_cobj) $(cxx_cod) \
+$(cxx_dobj) $(cxx_dod): cxx_extra_options += -std=c++0x
+
+$(cxx_pobj) $(cxx_pod) \
+$(cxx_cobj) $(cxx_cod): cxx_pic_options := -fPIC
$(cxx_cobj) $(cxx_cod): cpp_options := -I$(src_root)
$(cxx_dobj) $(cxx_dod): cpp_options := -I$(src_root) '-DODB_GXX_NAME="$(cxx_gnu)"'