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 4C01B15808B for ; Tue, 15 Feb 2022 20:17:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9745AE0824; Tue, 15 Feb 2022 20:17:35 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7C6FEE0824 for ; Tue, 15 Feb 2022 20:17:35 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 6CCDC342C21 for ; Tue, 15 Feb 2022 20:17:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EEEDC1F1 for ; Tue, 15 Feb 2022 20:17:32 +0000 (UTC) From: "Göktürk Yüksek" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Göktürk Yüksek" Message-ID: <1644956232.a8b4e336f1685176f62c62ab38d34e8dc2e9a9cb.gokturk@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/jitterentropy/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-crypt/jitterentropy/jitterentropy-3.3.1.ebuild X-VCS-Directories: app-crypt/jitterentropy/ X-VCS-Committer: gokturk X-VCS-Committer-Name: Göktürk Yüksek X-VCS-Revision: a8b4e336f1685176f62c62ab38d34e8dc2e9a9cb X-VCS-Branch: master Date: Tue, 15 Feb 2022 20:17:32 +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: 57424162-622a-485f-b5ce-2d033b854968 X-Archives-Hash: 233187881b39df43e59484f24d0ca57f commit: a8b4e336f1685176f62c62ab38d34e8dc2e9a9cb Author: Göktürk Yüksek gentoo org> AuthorDate: Tue Feb 15 20:11:15 2022 +0000 Commit: Göktürk Yüksek gentoo org> CommitDate: Tue Feb 15 20:17:12 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8b4e336 app-crypt/jitterentropy: append -O0 to CPPFLAGS #833256 The upstream doesn't allow any code optimizations and handles CFLAGS accordingly. Handle CPPFLAGS in the ebuild by explicitly appending it with '-O0'. Closes: https://bugs.gentoo.org/833256 Signed-off-by: Göktürk Yüksek gentoo.org> app-crypt/jitterentropy/jitterentropy-3.3.1.ebuild | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app-crypt/jitterentropy/jitterentropy-3.3.1.ebuild b/app-crypt/jitterentropy/jitterentropy-3.3.1.ebuild index c089421d22ee..4f867c12ca00 100644 --- a/app-crypt/jitterentropy/jitterentropy-3.3.1.ebuild +++ b/app-crypt/jitterentropy/jitterentropy-3.3.1.ebuild @@ -34,6 +34,9 @@ src_compile() { # This allows those default flags to be overwritten by # user-defined CFLAGS. Restore some of the defaults. append-cflags '-fwrapv' '-fvisibility=hidden' '-fPIE' + # Optimizations are not allowed by upstream, which already + # overrides CFLAGS in Makefile. We need to handle CPPFLAGS here. + append-cppflags '-O0' emake AR="$(tc-getAR)" CC="$(tc-getCC)" }