Extra compiler flags for AMD64
All checks were successful
Build documentation / build-and-deploy (push) Successful in 49s
All checks were successful
Build documentation / build-and-deploy (push) Successful in 49s
This commit is contained in:
@@ -4,7 +4,8 @@ cflags += --target=x86_64-pc-none-elf \
|
||||
-mno-avx \
|
||||
-mno-mmx \
|
||||
-mno-80387 \
|
||||
-mno-red-zone
|
||||
-mno-red-zone \
|
||||
-mcmodel=large
|
||||
|
||||
ldflags += --target=x86_64-pc-none-elf \
|
||||
-Wl,-zmax-page-size=0x1000
|
||||
|
||||
@@ -5,7 +5,9 @@ cflags += -nostdinc \
|
||||
-std=c11 \
|
||||
-pedantic \
|
||||
-Wall \
|
||||
-Wextra
|
||||
-Wextra \
|
||||
-ffunction-sections \
|
||||
-fdata-sections
|
||||
|
||||
cflags += -isystem ../include
|
||||
|
||||
@@ -13,4 +15,7 @@ ldflags += -ffreestanding \
|
||||
-nostdlib \
|
||||
-fno-builtin \
|
||||
-fuse-ld=lld \
|
||||
-static
|
||||
-static \
|
||||
-Wl,--gc-sections \
|
||||
-Wl,--strip-all \
|
||||
-flto
|
||||
|
||||
Reference in New Issue
Block a user