From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1483900-garchives=archives.gentoo.org@lists.gentoo.org> 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) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id AB44C15800F for <garchives@archives.gentoo.org>; Sat, 4 Feb 2023 08:45:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A9C07E0718; Sat, 4 Feb 2023 08:45:38 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 8E535E0718 for <gentoo-commits@lists.gentoo.org>; Sat, 4 Feb 2023 08:45:38 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9C095335D7B for <gentoo-commits@lists.gentoo.org>; Sat, 4 Feb 2023 08:45:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CE11F891 for <gentoo-commits@lists.gentoo.org>; Sat, 4 Feb 2023 08:45:35 +0000 (UTC) From: "Adam Pimentel" <adam.pimentel@protonmail.com> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Adam Pimentel" <adam.pimentel@protonmail.com> Message-ID: <1675500281.ef4c67eac4e08df6aa28226f1e636e877f1c04fe.adam.pimentel@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev 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: adam.pimentel X-VCS-Committer-Name: Adam Pimentel X-VCS-Revision: ef4c67eac4e08df6aa28226f1e636e877f1c04fe X-VCS-Branch: dev Date: Sat, 4 Feb 2023 08:45:35 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 7e133cba-a3f2-4bb7-9a2b-8e4e1e14548d X-Archives-Hash: 51288b2e5d55d499ca08625557f29848 commit: ef4c67eac4e08df6aa28226f1e636e877f1c04fe Author: Adam Pimentel <adam.pimentel <AT> protonmail <DOT> com> AuthorDate: Sat Feb 4 08:44:41 2023 +0000 Commit: Adam Pimentel <adam.pimentel <AT> protonmail <DOT> com> 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 <adam.pimentel <AT> 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)