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:26:01 -0400 |
commit | 14e3cd43fbaab93d65639c73c621125212192707 (patch) | |
tree | 0d2d869bf0b52163041d91a4382e8140224c0fc6 | |
parent | e375b3d6944a20288b42cf3b94bcf88cc031b88d (diff) | |
download | couchdb-14e3cd43fbaab93d65639c73c621125212192707.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 91e24d99e..39304ccba 100644 --- a/src/couch/rebar.config.script +++ b/src/couch/rebar.config.script @@ -120,7 +120,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" } end. |