Don't build the malo module with clang 10
Compiling it with LLVM 10 triggers https://bugs.llvm.org/show_bug.cgi?id=44351 While LLVM 11 is the default compiler, I regularly build with CROSS_TOOLCHAIN=llvm10 or use system packages for clang on Linux/macOS and those have not been updated to 11 yet.
This commit is contained in:
parent
6e4162c60c
commit
a31993fece
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=366698
@ -224,7 +224,7 @@ SUBDIR= \
|
|||||||
mac_seeotheruids \
|
mac_seeotheruids \
|
||||||
mac_stub \
|
mac_stub \
|
||||||
mac_test \
|
mac_test \
|
||||||
malo \
|
${_malo} \
|
||||||
md \
|
md \
|
||||||
mdio \
|
mdio \
|
||||||
mem \
|
mem \
|
||||||
@ -804,6 +804,12 @@ _bcm283x_clkman= bcm283x_clkman
|
|||||||
_bcm283x_pwm= bcm283x_pwm
|
_bcm283x_pwm= bcm283x_pwm
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
.if !(${COMPILER_TYPE} == "clang" && ${COMPILER_VERSION} < 110000)
|
||||||
|
# LLVM 10 crashes when building if_malo_pci.c, fixed in LLVM11:
|
||||||
|
# https://bugs.llvm.org/show_bug.cgi?id=44351
|
||||||
|
_malo= malo
|
||||||
|
.endif
|
||||||
|
|
||||||
SUBDIR+=${MODULES_EXTRA}
|
SUBDIR+=${MODULES_EXTRA}
|
||||||
|
|
||||||
.for reject in ${WITHOUT_MODULES}
|
.for reject in ${WITHOUT_MODULES}
|
||||||
|
Loading…
Reference in New Issue
Block a user