diff --git a/source/CMakeLists.txt b/source/CMakeLists.txt index 7666b6527..f80fccfc4 100644 --- a/source/CMakeLists.txt +++ b/source/CMakeLists.txt @@ -281,7 +281,7 @@ if( DEM_CMAKE_COMPILER_IS_GNUCXX_COMPATIBLE ) set( CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CMAKE_CXX_FLAGS_RELWITHDEBINFO} -pg" ) endif() - set( REL_CXX_FLAGS "-fno-rtti" ) + #set( REL_CXX_FLAGS "-fno-rtti" ) if( NOT PROFILE AND NOT APPLE ) # On OS X frame pointers are required for exception handling, at least with Clang set( REL_CXX_FLAGS "${REL_CXX_FLAGS} -fomit-frame-pointer" ) diff --git a/source/platform/posix/i_system.h b/source/platform/posix/i_system.h index 970be2892..4f9688c1f 100644 --- a/source/platform/posix/i_system.h +++ b/source/platform/posix/i_system.h @@ -115,4 +115,5 @@ inline int I_GetNumaNodeCount() { return 1; } inline int I_GetNumaNodeThreadCount(int numaNode) { return std::max(std::thread::hardware_concurrency(), 1); } inline void I_SetThreadNumaNode(std::thread &thread, int numaNode) { } +FString I_GetFromClipboard (bool use_primary_selection); #endif