summaryrefslogtreecommitdiff
path: root/disable-lto.patch
diff options
context:
space:
mode:
Diffstat (limited to 'disable-lto.patch')
-rw-r--r--disable-lto.patch13
1 files changed, 0 insertions, 13 deletions
diff --git a/disable-lto.patch b/disable-lto.patch
deleted file mode 100644
index 3cb487f..0000000
--- a/disable-lto.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/CMake/unix_config.cmake b/CMake/unix_config.cmake
-index b496cf0..f5383d4 100644
---- a/CMake/unix_config.cmake
-+++ b/CMake/unix_config.cmake
-@@ -21,7 +21,7 @@ macro(os_set_flags)
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -march=rv64ifd")
- else()
- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -mssse3")
-- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mssse3")
-+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mssse3 -flto")
- set(LRS_TRY_USE_AVX true)
- endif(${MACHINE} MATCHES "arm-*")
-