Skip to content

Commit

Permalink
fix: build elf linker everywhere (selected by define)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaromil committed Jan 3, 2025
1 parent 9137af4 commit 4d4d254
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion build/init.mk
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ CFLAGS ?= -O2 -fomit-frame-pointer ${cflags_stack_protect}

cflags := ${CFLAGS} ${cflags_includes}

SOURCES := src/file.o src/cjit.o \
SOURCES := src/file.o src/cjit.o src/elflinker.o \
src/main.o src/assets.o \
src/cwalk.o src/array.o \
src/muntar.o src/tinflate.o src/tinfgzip.o \
Expand Down
1 change: 0 additions & 1 deletion build/linux.mk
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ cc := gcc
cflags += -DLIBC_GNU -D_GNU_SOURCE
cflags += -DKILO_SUPPORTED
cflags += -DCJIT_BUILD_LINUX
SOURCES += src/elflinker.o

all: embed-posix cjit

Expand Down

0 comments on commit 4d4d254

Please sign in to comment.