From 6e37ea8df8ee34cfde57078259e2bd3e825c273b Mon Sep 17 00:00:00 2001 From: Alex Kotov Date: Mon, 17 Jan 2022 16:36:32 +0500 Subject: [PATCH] Improve "root" configs --- config/root-cross-i386-linux | 2 +- config/root-cross-riscv64-linux | 2 +- config/root-cross-x86_64-linux | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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