1 From da4ef211810bc3b0c51ea89f02c031a170fe0cb8 Mon Sep 17 00:00:00 2001
2 From: Alexander Kanavin <alex@linutronix.de>
3 Date: Tue, 1 Apr 2025 18:53:34 +0200
4 Subject: [PATCH] bldsys/cmake/global_options.cmake: removed unused
7 After various refactorings it is no longer used anywhere (and
8 is problematic for build reproducibility, as build path sizes can
9 differ between build hosts).
11 Upstream-Status: Submitted [https://github.com/KhronosGroup/Vulkan-Samples/pull/1325]
12 Signed-off-by: Alexander Kanavin <alex@linutronix.de>
14 bldsys/cmake/global_options.cmake | 3 ---
15 1 file changed, 3 deletions(-)
17 diff --git a/bldsys/cmake/global_options.cmake b/bldsys/cmake/global_options.cmake
18 index 96c7add..67a6c5e 100644
19 --- a/bldsys/cmake/global_options.cmake
20 +++ b/bldsys/cmake/global_options.cmake
21 @@ -126,9 +126,6 @@ set(CMAKE_CXX_STANDARD 17)
22 set(CMAKE_DISABLE_SOURCE_CHANGES ON)
23 set(CMAKE_DISABLE_IN_SOURCE_BUILD ON)
25 -string(LENGTH "${CMAKE_SOURCE_DIR}/" ROOT_PATH_SIZE)
26 -add_definitions(-DROOT_PATH_SIZE=${ROOT_PATH_SIZE})
28 set(CMAKE_C_FLAGS_DEBUG "-DDEBUG=0 ${CMAKE_C_FLAGS_DEBUG}")
29 set(CMAKE_CXX_FLAGS_DEBUG "-DDEBUG=0 ${CMAKE_CXX_FLAGS_DEBUG}")