From 2c14a7b749fff05b62bdb69afff9de7dfff96572 Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Wed, 22 Feb 2012 12:29:38 -0800 Subject: use libcxxabi for dynamic_cast --- system/lib/libcxxabi/Makefile | 41 +++++++++++++++++++++-------------------- 1 file changed, 21 insertions(+), 20 deletions(-) (limited to 'system/lib/libcxxabi') diff --git a/system/lib/libcxxabi/Makefile b/system/lib/libcxxabi/Makefile index 86d88976..62654ef2 100644 --- a/system/lib/libcxxabi/Makefile +++ b/system/lib/libcxxabi/Makefile @@ -1,27 +1,28 @@ OBJECTS = \ - cxa_vector.bc \ - private_typeinfo.bc \ - cxa_virtual.bc \ - temporary.bc \ - cxa_guard.bc \ - cxa_unexpected.bc \ - cxa_exception.bc \ - cxa_aux_runtime.bc \ - exception.bc \ - stdexcept.bc \ - abort_message.bc \ - cxa_personality.bc \ - cxa_new_delete.bc \ - cxa_handlers.bc \ - cxa_exception_storage.bc \ - typeinfo.bc \ - cxa_demangle.bc + src/private_typeinfo.bc \ + $(NULL) + #src/cxa_vector.bc \ + #src/cxa_virtual.bc \ + #src/temporary.bc \ + #src/cxa_guard.bc \ + #src/cxa_unexpected.bc \ + #src/cxa_exception.bc \ + #src/cxa_aux_runtime.bc \ + #src/exception.bc \ + #src/stdexcept.bc \ + #src/abort_message.bc \ + #src/cxa_personality.bc \ + #src/cxa_new_delete.bc \ + #src/cxa_handlers.bc \ + #src/cxa_exception_storage.bc \ + #src/typeinfo.bc \ + #src/cxa_demangle.bc -all: libcxx.bc +all: libcxxabi.bc %.bc: %.cpp - $(CXX) $< -o $@ + $(CXX) -I./include $< -o $@ -libcxx.bc: $(OBJECTS) +libcxxabi.bc: $(OBJECTS) $(CXX) $(OBJECTS) -o libcxxabi.bc -- cgit v1.2.3-18-g5258