{"action":"created","issue":{"url":"https://api.github.com/repos/premake/premake-core/issues/99","labels_url":"https://api.github.com/repos/premake/premake-core/issues/99/labels{/name}","comments_url":"https://api.github.com/repos/premake/premake-core/issues/99/comments","events_url":"https://api.github.com/repos/premake/premake-core/issues/99/events","html_url":"https://github.com/premake/premake-core/pull/99","id":85693706,"number":99,"title":"Enable Makefile environment overrides for CC,CXX and AR.","user":{"login":"moomalade","id":594535,"avatar_url":"https://avatars.githubusercontent.com/u/594535?v=3","gravatar_id":"","url":"https://api.github.com/users/moomalade","html_url":"https://github.com/moomalade","followers_url":"https://api.github.com/users/moomalade/followers","following_url":"https://api.github.com/users/moomalade/following{/other_user}","gists_url":"https://api.github.com/users/moomalade/gists{/gist_id}","starred_url":"https://api.github.com/users/moomalade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moomalade/subscriptions","organizations_url":"https://api.github.com/users/moomalade/orgs","repos_url":"https://api.github.com/users/moomalade/repos","events_url":"https://api.github.com/users/moomalade/events{/privacy}","received_events_url":"https://api.github.com/users/moomalade/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-06-06T04:24:55Z","updated_at":"2015-06-11T17:02:49Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/premake/premake-core/pulls/99","html_url":"https://github.com/premake/premake-core/pull/99","diff_url":"https://github.com/premake/premake-core/pull/99.diff","patch_url":"https://github.com/premake/premake-core/pull/99.patch"},"body":"Overriding toolchains from the command line is useful when swapping between compilers.\r\nFor example: `CC=gcc-4.8.1 make -C build`\r\n\r\nCC can be set by make itself so we can use following idiom to allow overrides:\r\n\r\n     CC ?= cc\r\n       ifeq ($(origin CC), default)\r\n       CC = cc\r\n     endif\r\n\r\nIf the value is not set, or if it's set to the default make value, then use the premake defined value, otherwise leave it alone."},"comment":{"url":"https://api.github.com/repos/premake/premake-core/issues/comments/111207478","html_url":"https://github.com/premake/premake-core/pull/99#issuecomment-111207478","issue_url":"https://api.github.com/repos/premake/premake-core/issues/99","id":111207478,"user":{"login":"moomalade","id":594535,"avatar_url":"https://avatars.githubusercontent.com/u/594535?v=3","gravatar_id":"","url":"https://api.github.com/users/moomalade","html_url":"https://github.com/moomalade","followers_url":"https://api.github.com/users/moomalade/followers","following_url":"https://api.github.com/users/moomalade/following{/other_user}","gists_url":"https://api.github.com/users/moomalade/gists{/gist_id}","starred_url":"https://api.github.com/users/moomalade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moomalade/subscriptions","organizations_url":"https://api.github.com/users/moomalade/orgs","repos_url":"https://api.github.com/users/moomalade/repos","events_url":"https://api.github.com/users/moomalade/events{/privacy}","received_events_url":"https://api.github.com/users/moomalade/received_events","type":"User","site_admin":false},"created_at":"2015-06-11T17:02:49Z","updated_at":"2015-06-11T17:02:49Z","body":"The only test that failed I updated in the PR (tests/actions/make/cpp/test_clang.lua).\r\nI ran on windows, osx and linux when I was testing each platform's make variants.\r\n\r\nIs there a situation where the tests might fail but travis might pass? Just want to check I've not missed something.\r\n"}}