{"action":"closed","number":5325,"pull_request":{"url":"https://api.github.com/repos/D-Programming-Language/dmd/pulls/5325","id":54770191,"html_url":"https://github.com/D-Programming-Language/dmd/pull/5325","diff_url":"https://github.com/D-Programming-Language/dmd/pull/5325.diff","patch_url":"https://github.com/D-Programming-Language/dmd/pull/5325.patch","issue_url":"https://api.github.com/repos/D-Programming-Language/dmd/issues/5325","number":5325,"state":"closed","locked":false,"title":"Add support for HOST_DMD_FLAGS to posix.mak.","user":{"login":"quickfur","id":405446,"avatar_url":"https://avatars.githubusercontent.com/u/405446?v=3","gravatar_id":"","url":"https://api.github.com/users/quickfur","html_url":"https://github.com/quickfur","followers_url":"https://api.github.com/users/quickfur/followers","following_url":"https://api.github.com/users/quickfur/following{/other_user}","gists_url":"https://api.github.com/users/quickfur/gists{/gist_id}","starred_url":"https://api.github.com/users/quickfur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quickfur/subscriptions","organizations_url":"https://api.github.com/users/quickfur/orgs","repos_url":"https://api.github.com/users/quickfur/repos","events_url":"https://api.github.com/users/quickfur/events{/privacy}","received_events_url":"https://api.github.com/users/quickfur/received_events","type":"User","site_admin":false},"body":"Rationale: if `dmd.conf` exists in the source tree (e.g., when testing git HEAD dmd without installing it into system directories), then `$HOST_DMD` will incorrectly pick up `./dmd.conf`, making it read the wrong version of druntime/phobos. This PR adds a way to specify custom flags when invoking `$HOST_DMD` so that the appropriate `-conf` flag can be added.\r\n\r\nTacking on the `-conf` flags to the end of `$HOST_DMD` does not work, because `posix.mak` assumes that `$HOST_DMD` is a pathname to an executable, and will wrongly think the host compiler doesn't exist if extra parameters are appended to `$HOST_DMD`.\r\n\r\nSee also: https://issues.dlang.org/show_bug.cgi?id=14255","created_at":"2015-12-30T00:47:00Z","updated_at":"2016-01-03T11:25:27Z","closed_at":"2016-01-03T11:25:27Z","merged_at":null,"merge_commit_sha":"2b133b8e9df0616695af9440549c3ac4019fe9fc","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/D-Programming-Language/dmd/pulls/5325/commits","review_comments_url":"https://api.github.com/repos/D-Programming-Language/dmd/pulls/5325/comments","review_comment_url":"https://api.github.com/repos/D-Programming-Language/dmd/pulls/comments{/number}","comments_url":"https://api.github.com/repos/D-Programming-Language/dmd/issues/5325/comments","statuses_url":"https://api.github.com/repos/D-Programming-Language/dmd/statuses/67c548ad243e11d642e309ec81819fc84a416515","head":{"label":"quickfur:host_dmd_flags","ref":"host_dmd_flags","sha":"67c548ad243e11d642e309ec81819fc84a416515","user":{"login":"quickfur","id":405446,"avatar_url":"https://avatars.githubusercontent.com/u/405446?v=3","gravatar_id":"","url":"https://api.github.com/users/quickfur","html_url":"https://github.com/quickfur","followers_url":"https://api.github.com/users/quickfur/followers","following_url":"https://api.github.com/users/quickfur/following{/other_user}","gists_url":"https://api.github.com/users/quickfur/gists{/gist_id}","starred_url":"https://api.github.com/users/quickfur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quickfur/subscriptions","organizations_url":"https://api.github.com/users/quickfur/orgs","repos_url":"https://api.github.com/users/quickfur/repos","events_url":"https://api.github.com/users/quickfur/events{/privacy}","received_events_url":"https://api.github.com/users/quickfur/received_events","type":"User","site_admin":false},"repo":{"id":3744109,"name":"dmd","full_name":"quickfur/dmd","owner":{"login":"quickfur","id":405446,"avatar_url":"https://avatars.githubusercontent.com/u/405446?v=3","gravatar_id":"","url":"https://api.github.com/users/quickfur","html_url":"https://github.com/quickfur","followers_url":"https://api.github.com/users/quickfur/followers","following_url":"https://api.github.com/users/quickfur/following{/other_user}","gists_url":"https://api.github.com/users/quickfur/gists{/gist_id}","starred_url":"https://api.github.com/users/quickfur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quickfur/subscriptions","organizations_url":"https://api.github.com/users/quickfur/orgs","repos_url":"https://api.github.com/users/quickfur/repos","events_url":"https://api.github.com/users/quickfur/events{/privacy}","received_events_url":"https://api.github.com/users/quickfur/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/quickfur/dmd","description":"dmd D Programming Language compiler","fork":true,"url":"https://api.github.com/repos/quickfur/dmd","forks_url":"https://api.github.com/repos/quickfur/dmd/forks","keys_url":"https://api.github.com/repos/quickfur/dmd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/quickfur/dmd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/quickfur/dmd/teams","hooks_url":"https://api.github.com/repos/quickfur/dmd/hooks","issue_events_url":"https://api.github.com/repos/quickfur/dmd/issues/events{/number}","events_url":"https://api.github.com/repos/quickfur/dmd/events","assignees_url":"https://api.github.com/repos/quickfur/dmd/assignees{/user}","branches_url":"https://api.github.com/repos/quickfur/dmd/branches{/branch}","tags_url":"https://api.github.com/repos/quickfur/dmd/tags","blobs_url":"https://api.github.com/repos/quickfur/dmd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/quickfur/dmd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/quickfur/dmd/git/refs{/sha}","trees_url":"https://api.github.com/repos/quickfur/dmd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/quickfur/dmd/statuses/{sha}","languages_url":"https://api.github.com/repos/quickfur/dmd/languages","stargazers_url":"https://api.github.com/repos/quickfur/dmd/stargazers","contributors_url":"https://api.github.com/repos/quickfur/dmd/contributors","subscribers_url":"https://api.github.com/repos/quickfur/dmd/subscribers","subscription_url":"https://api.github.com/repos/quickfur/dmd/subscription","commits_url":"https://api.github.com/repos/quickfur/dmd/commits{/sha}","git_commits_url":"https://api.github.com/repos/quickfur/dmd/git/commits{/sha}","comments_url":"https://api.github.com/repos/quickfur/dmd/comments{/number}","issue_comment_url":"https://api.github.com/repos/quickfur/dmd/issues/comments{/number}","contents_url":"https://api.github.com/repos/quickfur/dmd/contents/{+path}","compare_url":"https://api.github.com/repos/quickfur/dmd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/quickfur/dmd/merges","archive_url":"https://api.github.com/repos/quickfur/dmd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/quickfur/dmd/downloads","issues_url":"https://api.github.com/repos/quickfur/dmd/issues{/number}","pulls_url":"https://api.github.com/repos/quickfur/dmd/pulls{/number}","milestones_url":"https://api.github.com/repos/quickfur/dmd/milestones{/number}","notifications_url":"https://api.github.com/repos/quickfur/dmd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/quickfur/dmd/labels{/name}","releases_url":"https://api.github.com/repos/quickfur/dmd/releases{/id}","created_at":"2012-03-16T23:38:18Z","updated_at":"2015-08-23T05:55:55Z","pushed_at":"2016-01-02T20:15:46Z","git_url":"git://github.com/quickfur/dmd.git","ssh_url":"git@github.com:quickfur/dmd.git","clone_url":"https://github.com/quickfur/dmd.git","svn_url":"https://github.com/quickfur/dmd","homepage":"d-programming-language.org","size":60235,"stargazers_count":1,"watchers_count":1,"language":"D","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"D-Programming-Language:master","ref":"master","sha":"ba0c2d9e366d43ba47c1ebd27b0ffe7d4bf12f17","user":{"login":"D-Programming-Language","id":565913,"avatar_url":"https://avatars.githubusercontent.com/u/565913?v=3","gravatar_id":"","url":"https://api.github.com/users/D-Programming-Language","html_url":"https://github.com/D-Programming-Language","followers_url":"https://api.github.com/users/D-Programming-Language/followers","following_url":"https://api.github.com/users/D-Programming-Language/following{/other_user}","gists_url":"https://api.github.com/users/D-Programming-Language/gists{/gist_id}","starred_url":"https://api.github.com/users/D-Programming-Language/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/D-Programming-Language/subscriptions","organizations_url":"https://api.github.com/users/D-Programming-Language/orgs","repos_url":"https://api.github.com/users/D-Programming-Language/repos","events_url":"https://api.github.com/users/D-Programming-Language/events{/privacy}","received_events_url":"https://api.github.com/users/D-Programming-Language/received_events","type":"Organization","site_admin":false},"repo":{"id":1257070,"name":"dmd","full_name":"D-Programming-Language/dmd","owner":{"login":"D-Programming-Language","id":565913,"avatar_url":"https://avatars.githubusercontent.com/u/565913?v=3","gravatar_id":"","url":"https://api.github.com/users/D-Programming-Language","html_url":"https://github.com/D-Programming-Language","followers_url":"https://api.github.com/users/D-Programming-Language/followers","following_url":"https://api.github.com/users/D-Programming-Language/following{/other_user}","gists_url":"https://api.github.com/users/D-Programming-Language/gists{/gist_id}","starred_url":"https://api.github.com/users/D-Programming-Language/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/D-Programming-Language/subscriptions","organizations_url":"https://api.github.com/users/D-Programming-Language/orgs","repos_url":"https://api.github.com/users/D-Programming-Language/repos","events_url":"https://api.github.com/users/D-Programming-Language/events{/privacy}","received_events_url":"https://api.github.com/users/D-Programming-Language/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/D-Programming-Language/dmd","description":"dmd D Programming Language compiler","fork":false,"url":"https://api.github.com/repos/D-Programming-Language/dmd","forks_url":"https://api.github.com/repos/D-Programming-Language/dmd/forks","keys_url":"https://api.github.com/repos/D-Programming-Language/dmd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/D-Programming-Language/dmd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/D-Programming-Language/dmd/teams","hooks_url":"https://api.github.com/repos/D-Programming-Language/dmd/hooks","issue_events_url":"https://api.github.com/repos/D-Programming-Language/dmd/issues/events{/number}","events_url":"https://api.github.com/repos/D-Programming-Language/dmd/events","assignees_url":"https://api.github.com/repos/D-Programming-Language/dmd/assignees{/user}","branches_url":"https://api.github.com/repos/D-Programming-Language/dmd/branches{/branch}","tags_url":"https://api.github.com/repos/D-Programming-Language/dmd/tags","blobs_url":"https://api.github.com/repos/D-Programming-Language/dmd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/D-Programming-Language/dmd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/D-Programming-Language/dmd/git/refs{/sha}","trees_url":"https://api.github.com/repos/D-Programming-Language/dmd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/D-Programming-Language/dmd/statuses/{sha}","languages_url":"https://api.github.com/repos/D-Programming-Language/dmd/languages","stargazers_url":"https://api.github.com/repos/D-Programming-Language/dmd/stargazers","contributors_url":"https://api.github.com/repos/D-Programming-Language/dmd/contributors","subscribers_url":"https://api.github.com/repos/D-Programming-Language/dmd/subscribers","subscription_url":"https://api.github.com/repos/D-Programming-Language/dmd/subscription","commits_url":"https://api.github.com/repos/D-Programming-Language/dmd/commits{/sha}","git_commits_url":"https://api.github.com/repos/D-Programming-Language/dmd/git/commits{/sha}","comments_url":"https://api.github.com/repos/D-Programming-Language/dmd/comments{/number}","issue_comment_url":"https://api.github.com/repos/D-Programming-Language/dmd/issues/comments{/number}","contents_url":"https://api.github.com/repos/D-Programming-Language/dmd/contents/{+path}","compare_url":"https://api.github.com/repos/D-Programming-Language/dmd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/D-Programming-Language/dmd/merges","archive_url":"https://api.github.com/repos/D-Programming-Language/dmd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/D-Programming-Language/dmd/downloads","issues_url":"https://api.github.com/repos/D-Programming-Language/dmd/issues{/number}","pulls_url":"https://api.github.com/repos/D-Programming-Language/dmd/pulls{/number}","milestones_url":"https://api.github.com/repos/D-Programming-Language/dmd/milestones{/number}","notifications_url":"https://api.github.com/repos/D-Programming-Language/dmd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/D-Programming-Language/dmd/labels{/name}","releases_url":"https://api.github.com/repos/D-Programming-Language/dmd/releases{/id}","created_at":"2011-01-15T06:53:53Z","updated_at":"2015-12-29T03:55:16Z","pushed_at":"2016-01-03T11:10:39Z","git_url":"git://github.com/D-Programming-Language/dmd.git","ssh_url":"git@github.com:D-Programming-Language/dmd.git","clone_url":"https://github.com/D-Programming-Language/dmd.git","svn_url":"https://github.com/D-Programming-Language/dmd","homepage":"dlang.org","size":84181,"stargazers_count":1155,"watchers_count":1155,"language":"D","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":349,"mirror_url":null,"open_issues_count":153,"forks":349,"open_issues":153,"watchers":1155,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/D-Programming-Language/dmd/pulls/5325"},"html":{"href":"https://github.com/D-Programming-Language/dmd/pull/5325"},"issue":{"href":"https://api.github.com/repos/D-Programming-Language/dmd/issues/5325"},"comments":{"href":"https://api.github.com/repos/D-Programming-Language/dmd/issues/5325/comments"},"review_comments":{"href":"https://api.github.com/repos/D-Programming-Language/dmd/pulls/5325/comments"},"review_comment":{"href":"https://api.github.com/repos/D-Programming-Language/dmd/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/D-Programming-Language/dmd/pulls/5325/commits"},"statuses":{"href":"https://api.github.com/repos/D-Programming-Language/dmd/statuses/67c548ad243e11d642e309ec81819fc84a416515"}},"merged":false,"mergeable":true,"mergeable_state":"unstable","merged_by":null,"comments":2,"review_comments":0,"commits":1,"additions":2,"deletions":1,"changed_files":1}}