diff --git a/editors/imhex/Makefile b/editors/imhex/Makefile index 12656ec298db..28bf1bdbde12 100644 --- a/editors/imhex/Makefile +++ b/editors/imhex/Makefile @@ -116,7 +116,7 @@ IGNORE= requires libc++ of LLVM 17 on the base system .endif # After LLVM 18 import into the base system -.if (${OSREL:R} == 15 && ${OSVERSION} >= 1500018) || ${OSREL:R} == 14 +.if (${OSREL:R} == 15 && ${OSVERSION} >= 1500018) || ${OSREL:R} < 15 CXXFLAGS+= -fexperimental-library -D_LIBCPP_ENABLE_EXPERIMENTAL .endif