Skip to content

Commit 95d0c08

Browse files
demin-hancmuellner
authored andcommitted
Delete LLVMgold plugin copy
Under Mingw, LLVMgold plugin has different suffix and location. `make install` can install LLVMgold plugin automatically. Signed-off-by: demin.han <[email protected]>
1 parent 594c357 commit 95d0c08

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

Makefile.in

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,6 @@ ENABLE_DEFAULT_PIE := @enable_default_pie@
2020

2121
SIM ?= @WITH_SIM@
2222

23-
# Shared lib suffix
24-
IS_DARWIN := $(shell uname -s | grep Darwin)
25-
SHARED_LIB_SUFFIX := $(if $(IS_DARWIN),dylib,so)
26-
2723
ifeq ($(srcdir)/gcc,$(GCC_SRCDIR))
2824
# We need a relative source dir for the gcc configure, to make msys2 mingw64
2925
# builds work. Mayberelsrcdir is relative if a relative path was used to run
@@ -1204,7 +1200,6 @@ stamps/build-llvm-linux: $(LLVM_SRCDIR) $(LLVM_SRC_GIT) $(BINUTILS_SRCDIR) $(BIN
12041200
$(MAKE) -C $(notdir $@)/openmp-static install; \
12051201
fi
12061202
cp $(notdir $@)/lib/riscv$(XLEN)-unknown-linux-gnu/libc++* $(SYSROOT)/lib
1207-
cp $(notdir $@)/lib/LLVMgold.$(SHARED_LIB_SUFFIX) $(INSTALL_DIR)/lib
12081203
cd $(INSTALL_DIR)/bin && ln -s -f clang $(LINUX_TUPLE)-clang && ln -s -f clang++ $(LINUX_TUPLE)-clang++
12091204
mkdir -p $(dir $@) && touch $@
12101205

@@ -1225,7 +1220,6 @@ stamps/build-llvm-newlib: $(LLVM_SRCDIR) $(LLVM_SRC_GIT) $(BINUTILS_SRCDIR) $(BI
12251220
$(LLVM_EXTRA_CONFIGURE_FLAGS)
12261221
$(MAKE) -C $(notdir $@)
12271222
$(MAKE) -C $(notdir $@) install
1228-
cp $(notdir $@)/lib/LLVMgold.$(SHARED_LIB_SUFFIX) $(INSTALL_DIR)/lib
12291223
cd $(INSTALL_DIR)/bin && ln -s -f clang $(NEWLIB_TUPLE)-clang && \
12301224
ln -s -f clang++ $(NEWLIB_TUPLE)-clang++
12311225
mkdir -p $(dir $@) && touch $@

0 commit comments

Comments
 (0)