aboutsummaryrefslogtreecommitdiff
path: root/system/lib
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2012-02-22 12:29:38 -0800
committerAlon Zakai <alonzakai@gmail.com>2012-02-22 12:29:38 -0800
commit2c14a7b749fff05b62bdb69afff9de7dfff96572 (patch)
tree4858a63ff03d30b1bbbad0b243702e5f67c46ed4 /system/lib
parentdd979ed995ce4a82b505fba2f29a8f32dc900bdd (diff)
use libcxxabi for dynamic_cast
Diffstat (limited to 'system/lib')
-rw-r--r--system/lib/libcxxabi/Makefile41
1 files changed, 21 insertions, 20 deletions
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