aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorBad Diode <bd@badd10de.dev>2021-09-13 17:43:35 +0200
committerBad Diode <bd@badd10de.dev>2021-09-13 17:43:35 +0200
commitf7826ed2b13f5c7290ce6c73f554bae588d1ace1 (patch)
tree9713019f4414814d772fcedefd6ec668fc8318df /Makefile
parentea02a49f9aa46a77aaef74f0d1c743332593b217 (diff)
downloaduxnrpi-f7826ed2b13f5c7290ce6c73f554bae588d1ace1.tar.gz
uxnrpi-f7826ed2b13f5c7290ce6c73f554bae588d1ace1.zip
Cleanup linker script and make .stack section
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 348d974..becfccc 100644
--- a/Makefile
+++ b/Makefile
@@ -23,7 +23,7 @@ OBJ_START = $(BUILD_DIR)/start.o
23OBJ_MAIN = $(BUILD_DIR)/main.o 23OBJ_MAIN = $(BUILD_DIR)/main.o
24SRC_LINK = $(SRC_DIR)/linker.ld 24SRC_LINK = $(SRC_DIR)/linker.ld
25 25
26CFLAGS := -Wall -ffreestanding -O2 -nostdlib -lgcc -mgeneral-regs-only -fstack-protector 26CFLAGS := -Wall -ffreestanding -nostartfiles -O2 -nostdlib -lgcc -mgeneral-regs-only -fno-stack-protector
27CFLAGS += -DRPI_VERSION=$(RPI_VERSION) 27CFLAGS += -DRPI_VERSION=$(RPI_VERSION)
28AFLAGS := 28AFLAGS :=
29LDFLAGS := 29LDFLAGS :=