Skip to content

Commit

Permalink
further cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
jaromil committed Nov 11, 2024
1 parent ea96e5b commit 0906c08
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
1 change: 0 additions & 1 deletion build/musl.mk
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ include build/init.mk

COMPILER ?= musl-gcc

cflags += -DLIBCMALLOC
cflags += -static -std=gnu99 -fPIC -D'ARCH="MUSL"' -D__MUSL__ -DARCH_MUSL
ldflags += -static
system := Linux
Expand Down
2 changes: 1 addition & 1 deletion build/wasm.mk
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ cc_emsdk_settings := -DARCH_WASM -D'ARCH="WASM"'
cc_emsdk_optimizations := -O2 -sSTRICT -flto -fno-rtti -fno-exceptions
# lua_embed_opts := "compile"
ldflags += -lm ${ld_emsdk_optimizations} ${ld_emsdk_settings}
cflags += -DLIBCMALLOC ${cc_emsdk_settings} ${cc_emsdk_optimizations}
cflags += ${cc_emsdk_settings} ${cc_emsdk_optimizations}

all: ${BUILD_DEPS} zenroom.js

Expand Down
8 changes: 8 additions & 0 deletions src/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
all:

clean:
rm -f *.o
rm -f *.so
rm -f *_factory*
rm -f zen_ecdh_factory.h
rm -f lualibs_detected.c

0 comments on commit 0906c08

Please sign in to comment.