Lines 41-46
CMAKE_INSTALL_PREFIX= ${PREFIX}/flang
Link Here
|
41 |
CC= ${LOCALBASE}/llvm${LLVM_VER}/bin/clang |
41 |
CC= ${LOCALBASE}/llvm${LLVM_VER}/bin/clang |
42 |
CXX= ${LOCALBASE}/llvm${LLVM_VER}/bin/clang++ |
42 |
CXX= ${LOCALBASE}/llvm${LLVM_VER}/bin/clang++ |
43 |
|
43 |
|
|
|
44 |
# Support __builtin_is_constant_evaluated(), for libc++ >= 14 |
45 |
CXXFLAGS+= -include ${FILESDIR}/builtin_is_constant_evaluated.h |
46 |
|
44 |
post-patch: |
47 |
post-patch: |
45 |
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/lib/Driver/ToolChains/FreeBSD.cpp |
48 |
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/lib/Driver/ToolChains/FreeBSD.cpp |
46 |
|
49 |
|