aboutsummaryrefslogtreecommitdiffstats
path: root/runtime/GCCLibraries/crtend/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/GCCLibraries/crtend/Makefile')
-rw-r--r--runtime/GCCLibraries/crtend/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/runtime/GCCLibraries/crtend/Makefile b/runtime/GCCLibraries/crtend/Makefile
index 9bfb9d1..f542f53 100644
--- a/runtime/GCCLibraries/crtend/Makefile
+++ b/runtime/GCCLibraries/crtend/Makefile
@@ -3,9 +3,9 @@ BYTECODE_LIBRARY=1
DONT_BUILD_RELINKED=1
LIBRARYNAME=crtend
-Source = crtend.c listend.ll
+Source = $(wildcard *.cpp) $(wildcard *.c) listend.ll
-EXPORTED_SYMBOL_LIST = __main,llvm.global_ctors,llvm.global_dtors
+EXPORTED_SYMBOL_FILE = exported_symbol_list.lst
include $(LEVEL)/Makefile.common
@@ -14,4 +14,5 @@ $(LLVMGCCDIR)/bytecode-libs/crtend.o: $(LIBNAME_BC)
@cp $< $@
install:: $(LLVMGCCDIR)/bytecode-libs/crtend.o
- @rm $(LLVMGCCDIR)/bytecode-libs/libcrtend.bc \ No newline at end of file
+ @rm $(LLVMGCCDIR)/bytecode-libs/libcrtend.bc
+