git: c8ea7b4a51d4 - main - lang/scm: try using compiler-optimization again.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 04 Jan 2024 21:16:04 UTC
The branch main has been updated by mi:
URL: https://cgit.FreeBSD.org/ports/commit/?id=c8ea7b4a51d45661019fde13cbc9cbbd82dcf4e2
commit c8ea7b4a51d45661019fde13cbc9cbbd82dcf4e2
Author: Mikhail Teterin <mi@FreeBSD.org>
AuthorDate: 2024-01-04 21:13:59 +0000
Commit: Mikhail Teterin <mi@FreeBSD.org>
CommitDate: 2024-01-04 21:13:59 +0000
lang/scm: try using compiler-optimization again.
Upstream's change log hints, that optimization should work now --
so give it a try, cautiously and ready to turn it off...
---
lang/scm/Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lang/scm/Makefile b/lang/scm/Makefile
index 581dfe014222..fb91abd3116d 100644
--- a/lang/scm/Makefile
+++ b/lang/scm/Makefile
@@ -16,7 +16,7 @@ LICENSE_FILES= ${WRKSRC}/COPYING.LESSER
BROKEN_aarch64= fails to link: missing sbrk
BROKEN_riscv64= fails to link: missing sbrk
-LIB_DEPENDS= libgnuregex.so.[6-9]:devel/libgnuregex
+LIB_DEPENDS= libgnuregex.so.[5-9]:devel/libgnuregex
WRKSRC= ${WRKDIR}/${PORTNAME}
@@ -25,7 +25,7 @@ HAS_CONFIGURE= yes
CONFIGURE_ENV= --prefix=${PREFIX}
MAKE_JOBS_UNSAFE= yes
-CFLAGS:= ${CFLAGS:N-O*} -O0
+#CFLAGS:= ${CFLAGS:N-O*} -O0
CFLAGS+= -Wall -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wcast-qual
CFLAGS+= -Wno-unused-label -Wno-uninitialized