From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0F4B515800F for ; Sat, 4 Feb 2023 09:39:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 16CE4E07D4; Sat, 4 Feb 2023 09:39:41 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id F09ADE07D4 for ; Sat, 4 Feb 2023 09:39:40 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E006C340DAE for ; Sat, 4 Feb 2023 09:39:39 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7C86E89F for ; Sat, 4 Feb 2023 09:39:37 +0000 (UTC) From: "Viorel Munteanu" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Viorel Munteanu" Message-ID: <1675500281.ef4c67eac4e08df6aa28226f1e636e877f1c04fe.ceamac@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: net-p2p/feather/files/ X-VCS-Repository: repo/proj/guru X-VCS-Files: net-p2p/feather/files/feather_remove_cflags-2.2.3.patch X-VCS-Directories: net-p2p/feather/files/ X-VCS-Committer: ceamac X-VCS-Committer-Name: Viorel Munteanu X-VCS-Revision: ef4c67eac4e08df6aa28226f1e636e877f1c04fe X-VCS-Branch: master Date: Sat, 4 Feb 2023 09:39:37 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 85285524-f10d-4867-9f4b-1dbf506698b9 X-Archives-Hash: 28d3dbae9cde50740f8a2485a91cfdd9 commit: ef4c67eac4e08df6aa28226f1e636e877f1c04fe Author: Adam Pimentel protonmail com> AuthorDate: Sat Feb 4 08:44:41 2023 +0000 Commit: Viorel Munteanu gentoo org> CommitDate: Sat Feb 4 08:44:41 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ef4c67ea net-p2p/feather: prevent supercop assembly compilation from creating executable stack Closes: https://bugs.gentoo.org/892575 Signed-off-by: Adam Pimentel protonmail.com> net-p2p/feather/files/feather_remove_cflags-2.2.3.patch | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/net-p2p/feather/files/feather_remove_cflags-2.2.3.patch b/net-p2p/feather/files/feather_remove_cflags-2.2.3.patch index e3a36c9af..480179a15 100644 --- a/net-p2p/feather/files/feather_remove_cflags-2.2.3.patch +++ b/net-p2p/feather/files/feather_remove_cflags-2.2.3.patch @@ -1,6 +1,6 @@ --- a/CMakeLists.txt +++ b/CMakeLists.txt -@@ -284,12 +284,6 @@ +@@ -284,12 +284,8 @@ add_c_flag_if_supported(-fPIC C_SECURITY_FLAGS) add_cxx_flag_if_supported(-fPIC CXX_SECURITY_FLAGS) @@ -11,6 +11,8 @@ -set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c11 ${C_SECURITY_FLAGS}") -set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 ${CXX_SECURITY_FLAGS}") -set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} ${LD_SECURITY_FLAGS} ${STATIC_FLAGS}") -+set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} ${STATIC_FLAGS}") ++set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c11 -Wa,--noexecstack") ++set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wa,--noexecstack") ++set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,-z,noexecstack ${STATIC_FLAGS}") add_subdirectory(src)