diff options
author | Joan Touzet <joant@atypical.net> | 2020-04-28 13:46:14 -0400 |
---|---|---|
committer | Joan Touzet <wohali@users.noreply.github.com> | 2020-04-28 14:16:55 -0400 |
commit | 607f4c1f1095101980fe764550e7e3ca2b8f39b8 (patch) | |
tree | 1653f61cf41d8479c2ce5284e245c7ffd0360eb8 | |
parent | 63e2d08e6d580f89f95778e46d8c5a3f76ffa052 (diff) | |
download | couchdb-607f4c1f1095101980fe764550e7e3ca2b8f39b8.tar.gz |
Suppress offsetof gcc warnings for SM60
Mozilla did this years ago:
https://hg.mozilla.org/mozilla-central/rev/41d9d32ab5a7
-rw-r--r-- | src/couch/rebar.config.script | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/couch/rebar.config.script b/src/couch/rebar.config.script index ad897e8e3..320584b59 100644 --- a/src/couch/rebar.config.script +++ b/src/couch/rebar.config.script @@ -122,7 +122,7 @@ end. }; {unix, _} when SMVsn == "60" -> { - "-DXP_UNIX -I/usr/include/mozjs-60 -I/usr/local/include/mozjs-60 -std=c++14", + "-DXP_UNIX -I/usr/include/mozjs-60 -I/usr/local/include/mozjs-60 -std=c++14 -Wno-invalid-offsetof", "-L/usr/local/lib -std=c++14 -lmozjs-60 -lm" }; {unix, _} when SMVsn == "68" -> |