summarylogtreecommitdiffstats
path: root/0001-Remove-misguided-attempt-at-reproducibility-that-bre.patch
blob: 37f8d3e549a367f4280abdc049ff32c1b5e02107 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
From 31c875b3fa603938c37c53fc318882a9bb07c07f Mon Sep 17 00:00:00 2001
From: Xiretza <xiretza@xiretza.xyz>
Date: Thu, 25 Nov 2021 15:59:16 +0100
Subject: [PATCH 1/2] Remove misguided attempt at reproducibility that breaks
 debug package

makepkg uses -fdebug-prefix-map=$srcdir=/usr/src/debug to make debug
packages work, -ffile-prefix-map overrides this.
---
 src/CMakeLists.txt | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index e81d9b6f..a4cbd546 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -332,7 +332,6 @@ source_group("generated headers"
 )
 
 add_library(Catch2 ${ALL_FILES})
-add_build_reproducibility_settings(Catch2)
 add_library(Catch2::Catch2 ALIAS Catch2)
 
 if (ANDROID)
@@ -385,7 +384,6 @@ target_include_directories(Catch2
 add_library(Catch2WithMain
     ${SOURCES_DIR}/internal/catch_main.cpp
 )
-add_build_reproducibility_settings(Catch2WithMain)
 add_library(Catch2::Catch2WithMain ALIAS Catch2WithMain)
 target_link_libraries(Catch2WithMain PUBLIC Catch2)
 set_target_properties(Catch2WithMain
-- 
2.38.1