Skip to content

Commit 6ce0588

Browse files
committed
lang/lfortran: Unbreak this port on FreeBSD 12
Approved by: portmgr (blanket)
1 parent 0f95ad2 commit 6ce0588

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎lang/lfortran/Makefile‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ WWW= https://lfortran.org/
99

1010
LICENSE= BSD3CLAUSE
1111

12-
BROKEN_FreeBSD_12= use of undeclared identifier '_Unwind_Backtrace'
1312
BROKEN_i386= sizeof(YYSTYPE) != sizeof(Vec<AST::ast_t*>)
1413

1514
BUILD_DEPENDS= bash:shells/bash \
@@ -32,6 +31,9 @@ CMAKE_ON= LFORTRAN_BUILD_ALL WITH_DWARFDUMP WITH_FMT WITH_JSON \
3231
WITH_LINKH WITH_LLVM WITH_STACKTRACE WITH_UNWIND
3332
USE_LDCONFIG= yes
3433

34+
CXXFLAGS+= ${CXXFLAGS_${OPSYS}_${OSREL:R}}
35+
CXXFLAGS_FreeBSD_12= -D_GNU_SOURCE
36+
3537
LLVM_VERSION= 15 # 16 is supported too
3638

3739
OPTIONS_DEFINE= EXAMPLES # NB

0 commit comments

Comments
 (0)