From 22615096dee294f63c6940c17f2a448da51d9197 Mon Sep 17 00:00:00 2001 From: Clyne Sullivan Date: Tue, 20 Nov 2018 10:43:33 -0500 Subject: fs work, initrd/stdio --- initrd/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'initrd/Makefile') diff --git a/initrd/Makefile b/initrd/Makefile index b2ca46f..705ac6c 100644 --- a/initrd/Makefile +++ b/initrd/Makefile @@ -1,4 +1,6 @@ all: - @arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -fsigned-char -Os -nostdinc \ + @arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -fsigned-char -Os \ + -nostdinc -nostdlib \ + -fdata-sections -ffunction-sections -Wl,--gc-sections \ -I../src/pdclib/include -I../src/pdclib/platform/stmos/include \ - test.c ../src/pdclib/pdclib.a -s -o test -pie + test.c ../src/pdclib/pdclib.a -s -o test -- cgit v1.2.3