boost: disable rtti temporarily
There is a bug in the latest version of boost that upstream yocto is
pulling in which causes ipmbbridge to not build.
See https://github.com/chriskohlhoff/asio/issues/533 for more
information.
Similar to what OpenBMC did with bmcweb, disable this for now in
ipmbbridge.
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: Ib324bcc920363cae2fa94511de297ce052293955
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 80377f5..4acdccf 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -2,8 +2,11 @@
project (ipmbbridged CXX)
set (CMAKE_CXX_STANDARD 17)
set (CMAKE_CXX_STANDARD_REQUIRED ON)
-set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-rtti")
-set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fno-rtti")
+
+# Temporarily disable rtti
+# See https://github.com/chriskohlhoff/asio/issues/533
+#set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-rtti")
+#set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fno-rtti")
include_directories (${CMAKE_CURRENT_SOURCE_DIR})
find_package (Boost REQUIRED)