mirror of
https://github.com/fluencelabs/musl
synced 2025-04-24 14:52:13 +00:00
[WebAssembly] Fix 'make install'
This commit is contained in:
parent
47c33a50c1
commit
6caecad2bc
2
Makefile
2
Makefile
@ -67,11 +67,11 @@ else
|
||||
CRT_LIBS = lib/crt1.o lib/Scrt1.o lib/rcrt1.o lib/crti.o lib/crtn.o
|
||||
endif
|
||||
STATIC_LIBS = lib/libc.a
|
||||
SHARED_LIBS = lib/libc.so
|
||||
TOOL_LIBS = lib/musl-gcc.specs
|
||||
ifeq ($(ARCH),wasm32)
|
||||
ALL_LIBS = $(CRT_LIBS) $(STATIC_LIBS) $(EMPTY_LIBS) $(TOOL_LIBS)
|
||||
else
|
||||
SHARED_LIBS = lib/libc.so
|
||||
ALL_LIBS = $(CRT_LIBS) $(STATIC_LIBS) $(SHARED_LIBS) $(EMPTY_LIBS) $(TOOL_LIBS)
|
||||
endif
|
||||
ALL_TOOLS = obj/musl-gcc
|
||||
|
1
configure
vendored
1
configure
vendored
@ -309,6 +309,7 @@ mips*) ARCH=mips ;;
|
||||
microblaze*) ARCH=microblaze ;;
|
||||
or1k*) ARCH=or1k ;;
|
||||
powerpc*) ARCH=powerpc ;;
|
||||
wasm*) ARCH=wasm32 ;;
|
||||
sh[1-9bel-]*|sh|superh*) ARCH=sh ;;
|
||||
unknown) fail "$0: unable to detect target arch; try $0 --target=..." ;;
|
||||
*) fail "$0: unknown or unsupported target \"$target\"" ;;
|
||||
|
Loading…
x
Reference in New Issue
Block a user