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 15:25:57 -0400 |
commit | 97273412e193fac7a68697880648149649c08cbb (patch) | |
tree | 9ff4d7ee1e931d669de6a59343194d7cd646ae1f | |
parent | d4686252f58c61c6d576a3ae9d509849e3912d56 (diff) | |
download | couchdb-97273412e193fac7a68697880648149649c08cbb.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" -> |