From b86ec6347d5dc9fe667f7366792048d1eeb31079 Mon Sep 17 00:00:00 2001 From: Alex Kotov Date: Mon, 17 Jan 2022 16:42:05 +0500 Subject: [PATCH] Improve "root" configs --- config/root-cross-x86_64-linux | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/root-cross-x86_64-linux b/config/root-cross-x86_64-linux index 3804386..7a1eb24 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 -fno-pic' +export CFLAGS='-ffreestanding -nostdlib -fno-builtin -fno-stack-protector -fno-pic -mabi=sysv -mcmodel=kernel -mno-red-zone -mno-80387 -mno-3dnow -mno-sse -mno-sse2' "$REPO/configure" --host="$HOST" --prefix="$PREFIX" --with-libc