mirror of
https://github.com/wiiu-env/wut.git
synced 2025-01-05 21:18:15 +01:00
Add -lcoreinit to rpl.mk as it is required by crt0.S
This commit is contained in:
parent
fe5327c69d
commit
1798d782f3
@ -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
|
||||
|
@ -15,7 +15,7 @@ LIBS := -lcoreinit
|
||||
|
||||
CFLAGS += -O2 -Wall -std=c11
|
||||
CXXFLAGS += -O2 -Wall
|
||||
LDFLAGS += -lcoreinit -lgx2
|
||||
LDFLAGS += -lgx2
|
||||
|
||||
ifneq ($(BUILD),$(notdir $(CURDIR)))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user