Skip to content

Commit

Permalink
use -v when building shared library
Browse files Browse the repository at this point in the history
  • Loading branch information
yamt committed Aug 23, 2024
1 parent b115390 commit 75c626d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -621,12 +621,12 @@ PIC_OBJS = \
# Note: --allow-undefined-file=linker-provided-symbols.txt is
# a workaround for https://github.com/llvm/llvm-project/issues/103592
$(SYSROOT_LIB)/libc.so: $(OBJDIR)/libc.so.a $(BUILTINS_LIB)
$(CC) $(CFLAGS) -nodefaultlibs -shared --sysroot=$(SYSROOT) \
$(CC) $(CFLAGS) -v -nodefaultlibs -shared --sysroot=$(SYSROOT) \
-o $@ -Wl,--whole-archive $< -Wl,--no-whole-archive $(BUILTINS_LIB) \
-Wl,--allow-undefined-file=linker-provided-symbols.txt

$(SYSROOT_LIB)/%.so: $(OBJDIR)/%.so.a $(SYSROOT_LIB)/libc.so
$(CC) $(CFLAGS) -shared --sysroot=$(SYSROOT) \
$(CC) $(CFLAGS) -v -shared --sysroot=$(SYSROOT) \
-o $@ -Wl,--whole-archive $< -Wl,--no-whole-archive \
-Wl,--allow-undefined-file=linker-provided-symbols.txt

Expand Down

0 comments on commit 75c626d

Please sign in to comment.