File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
pkgs/development/compilers/llvm/common/compiler-rt Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -167,7 +167,7 @@ stdenv.mkDerivation ({
167167 postPatch = lib . optionalString ( ! stdenv . hostPlatform . isDarwin ) ''
168168 substituteInPlace cmake/builtin-config-ix.cmake \
169169 --replace 'set(X86 i386)' 'set(X86 i386 i486 i586 i686)'
170- '' + lib . optionalString ( ! haveLibc ) ( ( lib . optionalString ( lib . versionAtLeast release_version "18" ) ''
170+ '' + lib . optionalString ( ! haveLibc ) ( ( lib . optionalString ( lib . versions . major release_version == "18" ) ''
171171 substituteInPlace lib/builtins/aarch64/sme-libc-routines.c \
172172 --replace "<stdlib.h>" "<stddef.h>"
173173 '' ) + ''
@@ -180,7 +180,7 @@ stdenv.mkDerivation ({
180180 ''
181181 substituteInPlace lib/builtins/clear_cache.c \
182182 --replace "#include <assert.h>" ""
183- substituteInPlace lib/builtins/cpu_model${ lib . optionalString ( lib . versionAtLeast version "18" ) "/x86" } .c \
183+ substituteInPlace lib/builtins/cpu_model${ lib . optionalString ( lib . versionAtLeast release_version "18" ) "/x86" } .c \
184184 --replace "#include <assert.h>" ""
185185 '' ) ) + lib . optionalString ( lib . versionAtLeast release_version "13" && lib . versionOlder release_version "14" ) ''
186186 # https://github.com/llvm/llvm-project/blob/llvmorg-14.0.6/libcxx/utils/merge_archives.py
You can’t perform that action at this time.
0 commit comments