{"action":"created","issue":{"url":"https://api.github.com/repos/universal-ctags/ctags/issues/592","labels_url":"https://api.github.com/repos/universal-ctags/ctags/issues/592/labels{/name}","comments_url":"https://api.github.com/repos/universal-ctags/ctags/issues/592/comments","events_url":"https://api.github.com/repos/universal-ctags/ctags/issues/592/events","html_url":"https://github.com/universal-ctags/ctags/pull/592","id":109315399,"number":592,"title":"build: Arrange compiler and linker option specifings","user":{"login":"p-montanus","id":3117420,"avatar_url":"https://avatars.githubusercontent.com/u/3117420?v=3","gravatar_id":"","url":"https://api.github.com/users/p-montanus","html_url":"https://github.com/p-montanus","followers_url":"https://api.github.com/users/p-montanus/followers","following_url":"https://api.github.com/users/p-montanus/following{/other_user}","gists_url":"https://api.github.com/users/p-montanus/gists{/gist_id}","starred_url":"https://api.github.com/users/p-montanus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/p-montanus/subscriptions","organizations_url":"https://api.github.com/users/p-montanus/orgs","repos_url":"https://api.github.com/users/p-montanus/repos","events_url":"https://api.github.com/users/p-montanus/events{/privacy}","received_events_url":"https://api.github.com/users/p-montanus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-10-01T14:48:05Z","updated_at":"2015-10-05T11:26:12Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/universal-ctags/ctags/pulls/592","html_url":"https://github.com/universal-ctags/ctags/pull/592","diff_url":"https://github.com/universal-ctags/ctags/pull/592.diff","patch_url":"https://github.com/universal-ctags/ctags/pull/592.patch"},"body":"Arranging some compiler and linker option specifings in Makefile.in.\r\nfix #585.\r\n\r\nTarget Makefile.in lines are:\r\n```\r\nSPARSEFLAGS=-Wsparse-all\r\nCOVERAGE_CFLAGS=--coverage\r\nCOVERAGE_LDFLAGS=--coverage\r\nALL_CFLAGS = $(CFLAGS) --std=gnu99 -Wall $(COVERAGE_CFLAGS)\r\n```\r\n\r\nAdd configure options:\r\n```\r\n  --with-sparse-cgcc      use Sparse 'compiler wrapper' cgcc as C compiler [no]\r\n  --enable-coverage-gcov  enable 'gcov' coverage testing tool [no]\r\n```\r\n    \r\nAdd configure arg-vars:\r\n```\r\n  CGCC_CFLAGS             cgcc specific flags [-Wsparse-all]\r\n  EXTRA_CFLAGS            extra C compiler flags [-std=gnu99]\r\n  WARNING_CFLAGS          C compiler warning flags [-Wall]\r\n ```\r\n\r\nconfigure arg-vars can be specified like this:\r\n```\r\n$ ./configure EXTRA_CFLAGS='-std=c99' WARNING_CFLAGS='-Wall -Wextra'\r\n```\r\nor\r\n```\r\n$ EXTRA_CFLAGS='-std=c99' WARNING_CFLAGS='-Wall -Wextra' ./configure\r\n```"},"comment":{"url":"https://api.github.com/repos/universal-ctags/ctags/issues/comments/145500355","html_url":"https://github.com/universal-ctags/ctags/pull/592#issuecomment-145500355","issue_url":"https://api.github.com/repos/universal-ctags/ctags/issues/592","id":145500355,"user":{"login":"p-montanus","id":3117420,"avatar_url":"https://avatars.githubusercontent.com/u/3117420?v=3","gravatar_id":"","url":"https://api.github.com/users/p-montanus","html_url":"https://github.com/p-montanus","followers_url":"https://api.github.com/users/p-montanus/followers","following_url":"https://api.github.com/users/p-montanus/following{/other_user}","gists_url":"https://api.github.com/users/p-montanus/gists{/gist_id}","starred_url":"https://api.github.com/users/p-montanus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/p-montanus/subscriptions","organizations_url":"https://api.github.com/users/p-montanus/orgs","repos_url":"https://api.github.com/users/p-montanus/repos","events_url":"https://api.github.com/users/p-montanus/events{/privacy}","received_events_url":"https://api.github.com/users/p-montanus/received_events","type":"User","site_admin":false},"created_at":"2015-10-05T11:26:12Z","updated_at":"2015-10-05T11:26:12Z","body":"@masatake, thank you for advising.\r\n\r\nrevised git comment, and added explanation for macro.\r\n"}}