mirror of
https://github.com/ringtailsoftware/uvm32.git
synced 2026-06-05 22:43:39 +00:00
Prevent gcc converting block copies/sets to memcpy() and memset(), which don't exist.
This commit is contained in:
parent
59e6ebfedf
commit
58f8caee5a
2 changed files with 10 additions and 20 deletions
|
|
@ -1,7 +1,7 @@
|
|||
PREFIX:=riscv64-elf-
|
||||
OPT ?= -Os
|
||||
CFLAGS+=-I${TOPDIR}/common
|
||||
CFLAGS+=-fno-stack-protector
|
||||
CFLAGS+=-fno-stack-protector -fno-builtin-memcpy -fno-builtin
|
||||
CFLAGS+=-static-libgcc -fdata-sections -ffunction-sections
|
||||
CFLAGS+=-g ${OPT} -march=rv32im -mabi=ilp32 -static
|
||||
LDFLAGS:= -T ${TOPDIR}/apps/linker.ld -nostdlib -Wl,--gc-sections
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue