Skip to content

Commit d5bac9b

Browse files
committed
Fix cross-compile toolchain
1 parent 1c9d658 commit d5bac9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Utilities/build_ubuntu_cross_compilation_toolchain

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ function fix_glibc_modulemap() {
6868
rm -rf "$inc_dir"
6969
mkdir "$inc_dir"
7070
cat "$tmp" | while IFS='' read line; do
71-
if [[ "$line" =~ ^(\ *header\ )\"\/\/\/usr\/include\/(x86_64-linux-gnu\/)?([^\"]+)\" ]]; then
71+
if [[ "$line" =~ ^(\ *header\ )\"\/+usr\/include\/(x86_64-linux-gnu\/)?([^\"]+)\" ]]; then
7272
local orig_inc
7373
local rel_repl_inc
7474
local repl_inc

0 commit comments

Comments
 (0)