Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Dec 2024 11:37:03 GMT
From:      Lorenzo Salvadore <salvadore@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: a089d568abb2 - main - lang/opencoarrays: Fix build with GCC 14
Message-ID:  <202412221137.4BMBb3Ca053965@gitrepo.freebsd.org>

index | next in thread | raw e-mail

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


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202412221137.4BMBb3Ca053965>