Skip to content
This repository has been archived by the owner on Dec 1, 2024. It is now read-only.

Commit

Permalink
Fix android arm64 prebuild by disabling exceptions (#706)
Browse files Browse the repository at this point in the history
  • Loading branch information
vweevers authored Feb 24, 2020
1 parent 3e1177d commit 279bbcb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
2 changes: 0 additions & 2 deletions binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,9 @@
"ldflags": [ "-fPIC" ],
"cflags!": [
"-fno-tree-vrp",
"-fno-exceptions",
"-mfloat-abi=hard",
"-fPIE"
],
"cflags_cc!": [ "-fno-exceptions" ],
"ldflags!": [ "-fPIE" ]
}],
["target_arch == 'arm'", {
Expand Down
7 changes: 2 additions & 5 deletions deps/leveldb/leveldb.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -166,19 +166,16 @@
],
"ccflags": [
"-pthread",
"-fno-builtin-memcmp",
"-fexceptions"
"-fno-builtin-memcmp"
],
"cflags": [
"-fPIC"
],
"cflags!": [
"-fno-exceptions",
"-fPIE",
"-mfloat-abi=hard",
"-Wno-unused-but-set-variable"
],
"cflags_cc!": [ "-fno-exceptions" ]
]
}],
["target_arch == 'arm'", {
"cflags": [
Expand Down

0 comments on commit 279bbcb

Please sign in to comment.