git: a089d568abb2 - main - lang/opencoarrays: Fix build with GCC 14
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 22 Dec 2024 11:37:03 UTC
The branch main has been updated by salvadore:
URL: https://cgit.FreeBSD.org/ports/commit/?id=a089d568abb294619157e9fe79029c8c3a4aef65
commit a089d568abb294619157e9fe79029c8c3a4aef65
Author: Lorenzo Salvadore <salvadore@FreeBSD.org>
AuthorDate: 2024-12-21 10:56:48 +0000
Commit: Lorenzo Salvadore <salvadore@FreeBSD.org>
CommitDate: 2024-12-22 11:35:58 +0000
lang/opencoarrays: Fix build with GCC 14
GCC 14 turns some warnings into errors. Switch them back to warnings by
adding -fpermissive to CFLAGS.
PR: 281239
---
lang/opencoarrays/Makefile | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lang/opencoarrays/Makefile b/lang/opencoarrays/Makefile
index 4a479a9c9010..83f779100eac 100644
--- a/lang/opencoarrays/Makefile
+++ b/lang/opencoarrays/Makefile
@@ -23,6 +23,8 @@ GH_ACCOUNT= sourceryinstitute
GH_PROJECT= OpenCoarrays
USE_LDCONFIG= yes
+CFLAGS+= -fpermissive
+
PLIST_SUB= GCC_VER=${_GCC_VER} \
PORTVERSION=${PORTVERSION} \
SOVERSION=3