Commit 1fa8cd62 authored by jan.koester's avatar jan.koester
Browse files

test

parent db3b3d79
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -270,7 +270,7 @@ setup_toolchain() {
    '

    # ── Phase 2b-2: Generate wrapper compilers + toolchain file (always, cheap) ──
                COMPILE_FLAGS=\"--target=x86_64-linux-musl --sysroot=/usr/local/musl -nostdinc -isystem \${CLANG_RESOURCE}/include -isystem /usr/local/musl/include -fPIC\"\"
    echo "==> Generating compiler wrappers and toolchain file..."

    systemd-nspawn -D "$CHROOT_DIR" --pipe -- bash -c "
        set -e
@@ -288,7 +288,7 @@ for arg in \"\\\$@\"; do
    esac
done

COMPILE_FLAGS=\"--target=x86_64-linux-musl --sysroot=/usr/local/musl -nostdinc++ -isystem /usr/local/musl/include/c++/v1 -isystem \${CLANG_RESOURCE}/include -isystem /usr/local/musl/include -fPIC\"
COMPILE_FLAGS=\"--target=x86_64-linux-musl --sysroot=/usr/local/musl -nostdinc -nostdinc++ -isystem /usr/local/musl/include/c++/v1 -isystem \${CLANG_RESOURCE}/include -isystem /usr/local/musl/include -fPIC\"

if [ \"\\\$LINKING\" = \"1\" ]; then
    exec clang++-${LLVM_VERSION} \\\$COMPILE_FLAGS \\\\