git: 11b71abcde9c - main - Features/debug.mk: Add Fortran support

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Thu, 17 Sep 2026 12:21:44 UTC
The branch main has been updated by arrowd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=11b71abcde9cd73c832a4a6f837bd91a1fea64d1

commit 11b71abcde9cd73c832a4a6f837bd91a1fea64d1
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2026-07-09 07:42:30 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2026-09-17 12:20:36 +0000

    Features/debug.mk: Add Fortran support
    
    This allows building math/openblas with debugging enabled for the Fortran bits.
    
    Approved by:    bapt (portmgr)
    Pull Request:   https://ron-dev.freebsd.org/FreeBSD/ports/pulls/15
---
 Mk/Features/debug.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Mk/Features/debug.mk b/Mk/Features/debug.mk
index 6e67a2315223..c9587a82277a 100644
--- a/Mk/Features/debug.mk
+++ b/Mk/Features/debug.mk
@@ -18,6 +18,7 @@ STRIP_CMD=	${TRUE}
 .  endif
 DEBUG_FLAGS?=	-g
 CFLAGS:=		${CFLAGS:N-O*:N-fno-strict*} ${DEBUG_FLAGS}
+FFLAGS+=		${DEBUG_FLAGS}
 .  if defined(INSTALL_TARGET)
 INSTALL_TARGET:=	${INSTALL_TARGET:S/^install-strip$/install/g}
 .  endif