diff --git a/config/root-cross-i386-linux b/config/root-cross-i386-linux index 910ee80..ca17ed4 100755 --- a/config/root-cross-i386-linux +++ b/config/root-cross-i386-linux @@ -14,6 +14,6 @@ export AR="$TARGET-ar" export CC="$TARGET-gcc" export RANLIB="$TARGET-ranlib" -export CFLAGS='-ffreestanding -nostdlib -fno-builtin -fno-stack-protector' +export CFLAGS='-ffreestanding -nostdlib -fno-builtin -fno-stack-protector -fno-pic' "$REPO/configure" --host="$HOST" --prefix="$PREFIX" --with-libc diff --git a/config/root-cross-riscv64-linux b/config/root-cross-riscv64-linux index 07b1555..2ba2f4f 100755 --- a/config/root-cross-riscv64-linux +++ b/config/root-cross-riscv64-linux @@ -14,6 +14,6 @@ export AR="$TARGET-ar" export CC="$TARGET-gcc" export RANLIB="$TARGET-ranlib" -export CFLAGS='-ffreestanding -nostdlib -fno-builtin -fno-stack-protector' +export CFLAGS='-ffreestanding -nostdlib -fno-builtin -fno-stack-protector -fno-pic' "$REPO/configure" --host="$HOST" --prefix="$PREFIX" --with-libc diff --git a/config/root-cross-x86_64-linux b/config/root-cross-x86_64-linux index ea4ab89..3804386 100755 --- a/config/root-cross-x86_64-linux +++ b/config/root-cross-x86_64-linux @@ -14,6 +14,6 @@ export AR="$TARGET-ar" export CC="$TARGET-gcc" export RANLIB="$TARGET-ranlib" -export CFLAGS='-ffreestanding -nostdlib -fno-builtin -fno-stack-protector' +export CFLAGS='-ffreestanding -nostdlib -fno-builtin -fno-stack-protector -fno-pic' "$REPO/configure" --host="$HOST" --prefix="$PREFIX" --with-libc