Skip to content

Commit

Permalink
Revert "use -v when building shared library"
Browse files Browse the repository at this point in the history
This reverts commit 75c626d.
  • Loading branch information
yamt committed Aug 23, 2024
1 parent 75c626d commit b982a0c
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) -v -nodefaultlibs -shared --sysroot=$(SYSROOT) \
$(CC) $(CFLAGS) -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) -v -shared --sysroot=$(SYSROOT) \
$(CC) $(CFLAGS) -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 b982a0c

Please sign in to comment.