cling: fix runtime error on aarch64-linux

This commit is contained in:
Weijia Wang 2024-04-09 06:41:44 +02:00
parent 1c905fa881
commit 18c40a3873

View File

@ -122,7 +122,7 @@ let
"-l" "${llvmPackages_13.libcxx}/lib/libc++.so" "-l" "${llvmPackages_13.libcxx}/lib/libc++.so"
] else [ ] else [
"-I" "${gcc-unwrapped}/include/c++/${gcc-unwrapped.version}" "-I" "${gcc-unwrapped}/include/c++/${gcc-unwrapped.version}"
"-I" "${gcc-unwrapped}/include/c++/${gcc-unwrapped.version}/x86_64-unknown-linux-gnu" "-I" "${gcc-unwrapped}/include/c++/${gcc-unwrapped.version}/${stdenv.hostPlatform.config}"
]; ];
# The flags passed to the wrapped cling should # The flags passed to the wrapped cling should