From: Chris Lattner Date: Mon, 15 Sep 2003 19:20:11 +0000 (+0000) Subject: Fix building into a different obj directory X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=98d58862ac258d4702f0b24aa2bd3703b1bb603e;p=oota-llvm.git Fix building into a different obj directory git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8542 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/runtime/GCCLibraries/crtend/Makefile b/runtime/GCCLibraries/crtend/Makefile index f542f53d41d..7af574c75e1 100644 --- a/runtime/GCCLibraries/crtend/Makefile +++ b/runtime/GCCLibraries/crtend/Makefile @@ -3,7 +3,7 @@ BYTECODE_LIBRARY=1 DONT_BUILD_RELINKED=1 LIBRARYNAME=crtend -Source = $(wildcard *.cpp) $(wildcard *.c) listend.ll +Source = $(notdir $(wildcard $(SourceDir)/*.cpp $(SourceDir)/*.c)) listend.ll EXPORTED_SYMBOL_FILE = exported_symbol_list.lst