git: 3f6e7475e60a - main - lang/scm: enable -O optimization on i386.

From: Mikhail Teterin <mi_at_FreeBSD.org>
Date: Sat, 13 Jan 2024 03:41:13 UTC
The branch main has been updated by mi:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3f6e7475e60a0bb535bf59b7cac6367af106a573

commit 3f6e7475e60a0bb535bf59b7cac6367af106a573
Author:     Mikhail Teterin <mi@FreeBSD.org>
AuthorDate: 2024-01-13 03:38:42 +0000
Commit:     Mikhail Teterin <mi@FreeBSD.org>
CommitDate: 2024-01-13 03:41:09 +0000

    lang/scm: enable -O optimization on i386.
    
    The port keeps failing self-tests on the 32-bit platform.
    Maybe, it will compile better with -O...
---
 lang/scm/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lang/scm/Makefile b/lang/scm/Makefile
index 3a0555a4054a..dde18ae9882f 100644
--- a/lang/scm/Makefile
+++ b/lang/scm/Makefile
@@ -26,6 +26,7 @@ MAKE_JOBS_UNSAFE=	yes
 CFLAGS:=	${CFLAGS:N-O*} -O0
 CFLAGS+=	-Wall -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wcast-qual
 CFLAGS+=	-Wno-unused-label -Wno-uninitialized
+CFLAGS_i386=	-O
 
 SUB_FILES=	require.scm