diff options
author | Jay Doane <jaydoane@apache.org> | 2021-05-26 22:31:54 -0700 |
---|---|---|
committer | Jay Doane <jay.s.doane@gmail.com> | 2021-05-31 11:32:24 -0700 |
commit | 288caff4ba53bfb573e172c0b0362b848a020efc (patch) | |
tree | d77ba2bc4627a6ce9a741bd01f8951c00688f5f7 | |
parent | a19189c66dc3b5b674d498785f8ccb82bf61feb8 (diff) | |
download | couchdb-288caff4ba53bfb573e172c0b0362b848a020efc.tar.gz |
Do not warn for invalid offset with spidermonkey 60 on mac
-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 0ed2d4bc6..43ae3cea7 100644 --- a/src/couch/rebar.config.script +++ b/src/couch/rebar.config.script @@ -126,7 +126,7 @@ end. }; {unix, darwin} 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 -lmozjs-60 -lm -std=c++14 -lc++" }; {unix, _} when SMVsn == "60" -> |