There was an error while loading. Please reload this page.
1 parent 0f95ad2 commit 6ce0588Copy full SHA for 6ce0588
lang/lfortran/Makefile
@@ -9,7 +9,6 @@ WWW= https://lfortran.org/
9
10
LICENSE= BSD3CLAUSE
11
12
-BROKEN_FreeBSD_12= use of undeclared identifier '_Unwind_Backtrace'
13
BROKEN_i386= sizeof(YYSTYPE) != sizeof(Vec<AST::ast_t*>)
14
15
BUILD_DEPENDS= bash:shells/bash \
@@ -32,6 +31,9 @@ CMAKE_ON= LFORTRAN_BUILD_ALL WITH_DWARFDUMP WITH_FMT WITH_JSON \
32
31
WITH_LINKH WITH_LLVM WITH_STACKTRACE WITH_UNWIND
33
USE_LDCONFIG= yes
34
+CXXFLAGS+= ${CXXFLAGS_${OPSYS}_${OSREL:R}}
35
+CXXFLAGS_FreeBSD_12= -D_GNU_SOURCE
36
+
37
LLVM_VERSION= 15 # 16 is supported too
38
39
OPTIONS_DEFINE= EXAMPLES # NB
0 commit comments