sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to master grimoire by Ismael Luceno (50646881c759d899d4cd8541fa50f4824c36ad98)
- From: Ismael Luceno <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [SM-Commit] GIT changes to master grimoire by Ismael Luceno (50646881c759d899d4cd8541fa50f4824c36ad98)
- Date: Tue, 15 Aug 2023 19:23:29 +0000
GIT changes to master grimoire by Ismael Luceno <ismael AT sourcemage.org>:
crypto/opensc/BUILD | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
New commits:
commit 50646881c759d899d4cd8541fa50f4824c36ad98
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>
opensc: Replace -Os by -O2
On GCC 13.2.0, -Os causes an uninitialized variable access.
diff --git a/crypto/opensc/BUILD b/crypto/opensc/BUILD
index 141bd4d..eaa37c3 100755
--- a/crypto/opensc/BUILD
+++ b/crypto/opensc/BUILD
@@ -1,2 +1,6 @@
-OPTS="${OPTS} ${OPENSC_LOG}" &&
+OPTS="${OPTS} ${OPENSC_LOG}" &&
+# Remove -Os from CFLAGS; some optimization enabled by it results in an
+# uninitialized variable access.
+# [See: https://github.com/OpenSC/OpenSC/issues/2836#issuecomment-1679428391]
+CFLAGS="${CFLAGS//-Os/-O2}" &&
default_build
- [SM-Commit] GIT changes to master grimoire by Ismael Luceno (50646881c759d899d4cd8541fa50f4824c36ad98), Ismael Luceno, 08/15/2023
Archive powered by MHonArc 2.6.24.