[WebAssembly] Fix 'make install'

This commit is contained in:
Sam Clegg 2017-10-20 11:12:02 -07:00
parent 47c33a50c1
commit 6caecad2bc
2 changed files with 2 additions and 1 deletions

View File

@ -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
View File

@ -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\"" ;;