From f28d05753d05038834d7539f7a3e762db5bccfc2 Mon Sep 17 00:00:00 2001
From: Rachael Alexanderson <madame-rachelle@users.noreply.github.com>
Date: Mon, 20 Jan 2020 04:09:44 -0500
Subject: [PATCH] - almost got it all compiled on linux

---
 source/CMakeLists.txt            | 2 +-
 source/platform/posix/i_system.h | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

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<int>(std::thread::hardware_concurrency(), 1); }
 inline void I_SetThreadNumaNode(std::thread &thread, int numaNode) { }
 
+FString I_GetFromClipboard (bool use_primary_selection);
 #endif