{"action":"created","issue":{"url":"https://api.github.com/repos/WebAssembly/binaryen/issues/360","repository_url":"https://api.github.com/repos/WebAssembly/binaryen","labels_url":"https://api.github.com/repos/WebAssembly/binaryen/issues/360/labels{/name}","comments_url":"https://api.github.com/repos/WebAssembly/binaryen/issues/360/comments","events_url":"https://api.github.com/repos/WebAssembly/binaryen/issues/360/events","html_url":"https://github.com/WebAssembly/binaryen/issues/360","id":148980193,"number":360,"title":"asm2wasm clang error: argument unused [...] '-pthread'","user":{"login":"data-ux","id":4941110,"avatar_url":"https://avatars.githubusercontent.com/u/4941110?v=3","gravatar_id":"","url":"https://api.github.com/users/data-ux","html_url":"https://github.com/data-ux","followers_url":"https://api.github.com/users/data-ux/followers","following_url":"https://api.github.com/users/data-ux/following{/other_user}","gists_url":"https://api.github.com/users/data-ux/gists{/gist_id}","starred_url":"https://api.github.com/users/data-ux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/data-ux/subscriptions","organizations_url":"https://api.github.com/users/data-ux/orgs","repos_url":"https://api.github.com/users/data-ux/repos","events_url":"https://api.github.com/users/data-ux/events{/privacy}","received_events_url":"https://api.github.com/users/data-ux/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2016-04-17T18:41:57Z","updated_at":"2016-04-18T20:21:57Z","closed_at":null,"body":"On master/4dfeb1c, when trying to `make`, I get the following error on OS X 10.11.4:\r\n\r\n```\r\n[ 41%] Linking CXX executable bin/asm2wasm\r\nclang: error: argument unused during compilation: '-pthread'\r\nmake[2]: *** [bin/asm2wasm] Error 1\r\nmake[1]: *** [CMakeFiles/asm2wasm.dir/all] Error 2\r\nmake: *** [all] Error 2\r\n```\r\n\r\nPrevious commit, master/f2905f9 builds ok."},"comment":{"url":"https://api.github.com/repos/WebAssembly/binaryen/issues/comments/211560532","html_url":"https://github.com/WebAssembly/binaryen/issues/360#issuecomment-211560532","issue_url":"https://api.github.com/repos/WebAssembly/binaryen/issues/360","id":211560532,"user":{"login":"kripken","id":173661,"avatar_url":"https://avatars.githubusercontent.com/u/173661?v=3","gravatar_id":"","url":"https://api.github.com/users/kripken","html_url":"https://github.com/kripken","followers_url":"https://api.github.com/users/kripken/followers","following_url":"https://api.github.com/users/kripken/following{/other_user}","gists_url":"https://api.github.com/users/kripken/gists{/gist_id}","starred_url":"https://api.github.com/users/kripken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kripken/subscriptions","organizations_url":"https://api.github.com/users/kripken/orgs","repos_url":"https://api.github.com/users/kripken/repos","events_url":"https://api.github.com/users/kripken/events{/privacy}","received_events_url":"https://api.github.com/users/kripken/received_events","type":"User","site_admin":false},"created_at":"2016-04-18T20:21:57Z","updated_at":"2016-04-18T20:21:57Z","body":"Would that make it ignore unused arguments? Seems risky, we might miss other things later.\r\n\r\nUnless we have no other solution for this issue here, but it should be resolved now that on master we add the flag at compile and not link time?"}}