Tim Armstrong has uploaded this change for review. ( http://gerrit.cloudera.org:8080/12162
Change subject: Support CXXFLAGS ...................................................................... Support CXXFLAGS I ran into a case when building Kudu in native-toolchain where I want to build Kudu with flags matching those used by other libraries. Specifically, "-D_GLIBCXX_USE_CXX11_ABI=0" is needed to allow linking with other libraries built with that flag. I'm doing this to make it easier to stage a GCC upgrade in Impala. By default CMake puts CXXFLAGS into CMAKE_CXX_FLAGS but this is then clobbered by Kudu's CMake script. See https://cmake.org/cmake/help/latest/envvar/CXXFLAGS.html Let me know if this solution is appropriate or a different approach would be better. Change-Id: Id9dcad5ccb4fc4c081d96eaa40957175731c7a9e --- M CMakeLists.txt 1 file changed, 6 insertions(+), 1 deletion(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/62/12162/1 -- To view, visit http://gerrit.cloudera.org:8080/12162 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: Id9dcad5ccb4fc4c081d96eaa40957175731c7a9e Gerrit-Change-Number: 12162 Gerrit-PatchSet: 1 Gerrit-Owner: Tim Armstrong <tarmstr...@cloudera.com>