From 928bf3f29d7a8b2163a3c1d5c15554d5b42c606b Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sat, 1 Aug 2020 17:30:42 +0200 Subject: Some entry position optimizations --- apps/Makefile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'apps/Makefile') 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) -- cgit v1.2.3