summaryrefslogblamecommitdiff
path: root/net-p2p/p2pool/files/3.9-build-disable-strip.patch
blob: aa0f2332e9f7820d267a4f545db4bbdee2554740 (plain) (tree)





















                                                                      
From 5d9f36616a0a9b6b2a05cd5cf4135910aa1ec3ed Mon Sep 17 00:00:00 2001
From: Bertrand Jacquin <bertrand@jacquin.bzh>
Date: Thu, 16 Feb 2023 01:20:01 +0000
Subject: [PATCH] build: disable strip

---
 cmake/flags.cmake | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cmake/flags.cmake b/cmake/flags.cmake
index 1aac963ec8f4..8c27709e50a7 100644
--- a/cmake/flags.cmake
+++ b/cmake/flags.cmake
@@ -40,7 +40,7 @@ if (CMAKE_CXX_COMPILER_ID MATCHES GNU)
 	if (DEV_WITH_TSAN OR DEV_WITH_UBSAN OR DEV_WITH_ASAN)
 		set(OPTIMIZATION_FLAGS "-O2 -g")
 	else()
-		set(OPTIMIZATION_FLAGS "-Ofast -s")
+		set(OPTIMIZATION_FLAGS "-Ofast")
 	endif()
 
 	if (WITH_LTO)