diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2012-03-02 14:11:03 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2012-03-02 14:11:03 +0200 |
commit | 64cfe5e150e2d3e58dde1a6701d8c734c20e0848 (patch) | |
tree | 600adad0eb7f41cd5e1a4e34a28922db4024684f /odb/makefile | |
parent | 8a9e1081c026a092c7dfb28fbd079b88850c7233 (diff) |
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.
Diffstat (limited to 'odb/makefile')
-rw-r--r-- | odb/makefile | 7 |
1 files changed, 0 insertions, 7 deletions
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) |