aboutsummaryrefslogtreecommitdiff
path: root/i686/toolchain.mk
diff options
context:
space:
mode:
Diffstat (limited to 'i686/toolchain.mk')
-rw-r--r--i686/toolchain.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/i686/toolchain.mk b/i686/toolchain.mk
index c41c784..5842584 100644
--- a/i686/toolchain.mk
+++ b/i686/toolchain.mk
@@ -2,11 +2,11 @@
#
AS = i686-elf-as
CC = i686-elf-gcc
-CCFLAGS = -Wall -Wextra -Wpedantic -fanalyzer -ffreestanding
+CCFLAGS = -Wall -Wextra -Wpedantic -fanalyzer -ffreestanding -std=gnu11 -mgeneral-regs-only
LD = i686-elf-ld
-LDFLAGS = -nostdlib
+LDFLAGS = -static -nostdlib
AR = i686-elf-ar
-ARFLAGS = r
+ARFLAGS = -ruv
STRIP = i686-elf-strip