games-engines/ioquake3: disable forced LTO, update live ebuild
Signed-off-by: Shin'ya Minazuki <shinyoukai@laidback.moe>
This commit is contained in:
parent
0635843323
commit
603fb272a6
2 changed files with 29 additions and 3 deletions
|
|
@ -0,0 +1,19 @@
|
|||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 4f0f8be5..5c7336b3 100644
|
||||
--- CMakeLists.txt
|
||||
+++ CMakeLists.txt
|
||||
@@ -42,14 +42,6 @@ if(NOT CMAKE_CONFIGURATION_TYPES AND NOT CMAKE_BUILD_TYPE)
|
||||
set(CMAKE_BUILD_TYPE Release)
|
||||
endif()
|
||||
|
||||
-# Try to enable LTO by default
|
||||
-include(CheckIPOSupported)
|
||||
-check_ipo_supported(RESULT IPO_SUPPORTED)
|
||||
-if(IPO_SUPPORTED)
|
||||
- set(CMAKE_INTERPROCEDURAL_OPTIMIZATION TRUE)
|
||||
- set(CMAKE_INTERPROCEDURAL_OPTIMIZATION_DEBUG FALSE)
|
||||
-endif()
|
||||
-
|
||||
set(CMAKE_C_STANDARD 99)
|
||||
set(CMAKE_C_STANDARD_REQUIRED ON)
|
||||
set(CMAKE_SHARED_LIBRARY_PREFIX "")
|
||||
Loading…
Add table
Add a link
Reference in a new issue