From 64cfe5e150e2d3e58dde1a6701d8c734c20e0848 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 2 Mar 2012 14:11:03 +0200 Subject: Reimplement C++11 support to be header-only This way, the same build of the runtime libraries can be used in both C++98 and C++11 modes. This is important for when runtimes are installed or packaged. --- odb/makefile | 7 ------- 1 file changed, 7 deletions(-) (limited to 'odb/makefile') diff --git a/odb/makefile b/odb/makefile index 26820d2..fd61513 100644 --- a/odb/makefile +++ b/odb/makefile @@ -79,10 +79,7 @@ endif $(cxx_obj) $(cxx_od): $(odb.l.cpp-options) $(out_base)/details/config.h $(odb.l.cpp-options): value := -I$(out_root) -I$(src_root) -$(call include,$(bld_root)/cxx/standard.make) # cxx_standard - ifdef libodb_threads -ifdef cxx_standard $(out_base)/details/config.h: | $(out_base)/details/. @echo '/* file : odb/details/config.h' >$@ @echo ' * note : automatically generated' >>$@ @@ -100,13 +97,9 @@ endif ifeq ($(libodb_threads),none) @echo '#define ODB_THREADS_NONE 1' >>$@ endif -ifeq ($(cxx_standard),c++11) - @echo '#define ODB_CXX11 1' >>$@ -endif @echo '' >>$@ @echo '#endif /* ODB_DETAILS_CONFIG_H */' >>$@ endif -endif $(call include-dep,$(cxx_od),$(cxx_obj),$(out_base)/details/config.h) -- cgit v1.1