diff options
Diffstat (limited to 'apps/Makefile')
-rw-r--r-- | apps/Makefile | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/apps/Makefile b/apps/Makefile index 16f108a..574f135 100644 --- a/apps/Makefile +++ b/apps/Makefile @@ -5,10 +5,7 @@ CC = ../cross/opt/bin/i686-elf-gcc LD = ../cross/opt/bin/i686-elf-ld OC = ../cross/opt/bin/i686-elf-objcopy -# TODO: Fix crash without optimizations -CSFLAGS = -mpreferred-stack-boundary=2 -fno-asynchronous-unwind-tables -Os - -CFLAGS = $(CSFLAGS) -Wall -Wextra -nostdlib -nostdinc -ffreestanding -fno-builtin -mgeneral-regs-only -std=c99 -m32 -pedantic-errors -I../src/lib/inc/ -fPIE -Os +CFLAGS = $(CSFLAGS) -Wall -Wextra -nostdlib -nostdinc -ffreestanding -ffunction-sections -fno-builtin -std=c99 -m32 -pedantic-errors -I../src/lib/inc/ -fPIE all: $(COBJS) |