mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-11 10:40:47 +00:00
- almost got it all compiled on linux
This commit is contained in:
parent
d9563dae73
commit
f28d05753d
2 changed files with 2 additions and 1 deletions
|
@ -281,7 +281,7 @@ if( DEM_CMAKE_COMPILER_IS_GNUCXX_COMPATIBLE )
|
||||||
set( CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CMAKE_CXX_FLAGS_RELWITHDEBINFO} -pg" )
|
set( CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CMAKE_CXX_FLAGS_RELWITHDEBINFO} -pg" )
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
set( REL_CXX_FLAGS "-fno-rtti" )
|
#set( REL_CXX_FLAGS "-fno-rtti" )
|
||||||
if( NOT PROFILE AND NOT APPLE )
|
if( NOT PROFILE AND NOT APPLE )
|
||||||
# On OS X frame pointers are required for exception handling, at least with Clang
|
# On OS X frame pointers are required for exception handling, at least with Clang
|
||||||
set( REL_CXX_FLAGS "${REL_CXX_FLAGS} -fomit-frame-pointer" )
|
set( REL_CXX_FLAGS "${REL_CXX_FLAGS} -fomit-frame-pointer" )
|
||||||
|
|
|
@ -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 int I_GetNumaNodeThreadCount(int numaNode) { return std::max<int>(std::thread::hardware_concurrency(), 1); }
|
||||||
inline void I_SetThreadNumaNode(std::thread &thread, int numaNode) { }
|
inline void I_SetThreadNumaNode(std::thread &thread, int numaNode) { }
|
||||||
|
|
||||||
|
FString I_GetFromClipboard (bool use_primary_selection);
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue