Add -lcoreinit to rpl.mk as it is required by crt0.S

This commit is contained in:
James Benton 2016-01-05 15:22:59 -08:00
parent fe5327c69d
commit 1798d782f3
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
LIBPATHS := -L$(WUT_ROOT)/lib
CFLAGS := -I$(WUT_ROOT)/include -fno-builtin -ffreestanding
CXXFLAGS := $(CFLAGS)
LDFLAGS := -nostdlib -nostartfiles $(WUT_ROOT)/lib/crt0.o -T $(WUT_ROOT)/rules/rpl.ld -pie -fPIE -z common-page-size=64 -z max-page-size=64
LDFLAGS := -nostdlib -nostartfiles $(WUT_ROOT)/lib/crt0.o -T $(WUT_ROOT)/rules/rpl.ld -pie -fPIE -z common-page-size=64 -z max-page-size=64 -lcoreinit
ELF2RPL := $(WUT_ROOT)/bin/elf2rpl
include $(WUT_ROOT)/rules/base.mk

View File

@ -15,7 +15,7 @@ LIBS := -lcoreinit
CFLAGS += -O2 -Wall -std=c11
CXXFLAGS += -O2 -Wall
LDFLAGS += -lcoreinit -lgx2
LDFLAGS += -lgx2
ifneq ($(BUILD),$(notdir $(CURDIR)))