aboutsummaryrefslogtreecommitdiff
path: root/emcc
diff options
context:
space:
mode:
authorBruce Mitchener <bruce.mitchener@gmail.com>2013-03-25 11:25:49 +0700
committerBruce Mitchener <bruce.mitchener@gmail.com>2013-03-25 14:14:22 +0700
commit09221ebd18ec0074b25d593400f040ee460526aa (patch)
treee721b466f79090d78ddca667477ff33b56f083f2 /emcc
parentff1ba5d2339a6e086b812acf96c47f78764b0095 (diff)
Get exceptions working as they were before.
This no longer uses headers from libcxxabi and in fact uses libcxxabi a bit less than before. This no longer lets some new C++11 stuff such as exception_ptr work as the support for that relies upon libcxxabi code.
Diffstat (limited to 'emcc')
-rwxr-xr-xemcc12
1 files changed, 3 insertions, 9 deletions
diff --git a/emcc b/emcc
index c9bb4c37..cd906c7b 100755
--- a/emcc
+++ b/emcc
@@ -1102,6 +1102,7 @@ try:
o_s = []
libc_files = [
'dlmalloc.c',
+ os.path.join('libcxx', 'new.cpp'),
os.path.join('libc', 'stdlib', 'getopt_long.c'),
os.path.join('libc', 'gen', 'err.c'),
os.path.join('libc', 'gen', 'errx.c'),
@@ -1165,8 +1166,7 @@ try:
'ios.cpp',
'locale.cpp',
'regex.cpp',
- 'strstream.cpp',
- 'typeinfo.cpp'
+ 'strstream.cpp'
]
for src in libcxx_files:
o = in_temp(src + '.o')
@@ -1189,14 +1189,8 @@ try:
if DEBUG: print >> sys.stderr, 'emcc: building libcxxabi for cache'
os = []
libcxxabi_files = [
- 'abort_message.cpp',
- 'private_typeinfo.cpp',
'typeinfo.cpp',
- 'cxa_new_delete.cpp',
- 'cxa_handlers.cpp',
- 'stdexcept.cpp',
- 'exception.cpp',
- 'cxa_exception_storage.cpp']:
+ 'private_typeinfo.cpp'
]
for src in libcxxabi_files:
o = in_temp(src + '.o')