mirror of
https://github.com/fluencelabs/musl
synced 2025-04-25 07:12:15 +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
|
CRT_LIBS = lib/crt1.o lib/Scrt1.o lib/rcrt1.o lib/crti.o lib/crtn.o
|
||||||
endif
|
endif
|
||||||
STATIC_LIBS = lib/libc.a
|
STATIC_LIBS = lib/libc.a
|
||||||
SHARED_LIBS = lib/libc.so
|
|
||||||
TOOL_LIBS = lib/musl-gcc.specs
|
TOOL_LIBS = lib/musl-gcc.specs
|
||||||
ifeq ($(ARCH),wasm32)
|
ifeq ($(ARCH),wasm32)
|
||||||
ALL_LIBS = $(CRT_LIBS) $(STATIC_LIBS) $(EMPTY_LIBS) $(TOOL_LIBS)
|
ALL_LIBS = $(CRT_LIBS) $(STATIC_LIBS) $(EMPTY_LIBS) $(TOOL_LIBS)
|
||||||
else
|
else
|
||||||
|
SHARED_LIBS = lib/libc.so
|
||||||
ALL_LIBS = $(CRT_LIBS) $(STATIC_LIBS) $(SHARED_LIBS) $(EMPTY_LIBS) $(TOOL_LIBS)
|
ALL_LIBS = $(CRT_LIBS) $(STATIC_LIBS) $(SHARED_LIBS) $(EMPTY_LIBS) $(TOOL_LIBS)
|
||||||
endif
|
endif
|
||||||
ALL_TOOLS = obj/musl-gcc
|
ALL_TOOLS = obj/musl-gcc
|
||||||
|
1
configure
vendored
1
configure
vendored
@ -309,6 +309,7 @@ mips*) ARCH=mips ;;
|
|||||||
microblaze*) ARCH=microblaze ;;
|
microblaze*) ARCH=microblaze ;;
|
||||||
or1k*) ARCH=or1k ;;
|
or1k*) ARCH=or1k ;;
|
||||||
powerpc*) ARCH=powerpc ;;
|
powerpc*) ARCH=powerpc ;;
|
||||||
|
wasm*) ARCH=wasm32 ;;
|
||||||
sh[1-9bel-]*|sh|superh*) ARCH=sh ;;
|
sh[1-9bel-]*|sh|superh*) ARCH=sh ;;
|
||||||
unknown) fail "$0: unable to detect target arch; try $0 --target=..." ;;
|
unknown) fail "$0: unable to detect target arch; try $0 --target=..." ;;
|
||||||
*) fail "$0: unknown or unsupported target \"$target\"" ;;
|
*) fail "$0: unknown or unsupported target \"$target\"" ;;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user