{"action":"closed","issue":{"url":"https://api.github.com/repos/Homebrew/homebrew/issues/36108","labels_url":"https://api.github.com/repos/Homebrew/homebrew/issues/36108/labels{/name}","comments_url":"https://api.github.com/repos/Homebrew/homebrew/issues/36108/comments","events_url":"https://api.github.com/repos/Homebrew/homebrew/issues/36108/events","html_url":"https://github.com/Homebrew/homebrew/issues/36108","id":55061253,"number":36108,"title":"Open-MPI does not compile with GCC","user":{"login":"danielfmva","id":8713985,"avatar_url":"https://avatars.githubusercontent.com/u/8713985?v=3","gravatar_id":"","url":"https://api.github.com/users/danielfmva","html_url":"https://github.com/danielfmva","followers_url":"https://api.github.com/users/danielfmva/followers","following_url":"https://api.github.com/users/danielfmva/following{/other_user}","gists_url":"https://api.github.com/users/danielfmva/gists{/gist_id}","starred_url":"https://api.github.com/users/danielfmva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielfmva/subscriptions","organizations_url":"https://api.github.com/users/danielfmva/orgs","repos_url":"https://api.github.com/users/danielfmva/repos","events_url":"https://api.github.com/users/danielfmva/events{/privacy}","received_events_url":"https://api.github.com/users/danielfmva/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-01-21T18:57:23Z","updated_at":"2015-01-23T04:25:09Z","closed_at":"2015-01-23T04:25:09Z","body":"Hi,\r\n\r\nI have been trying compile Open-MPI with gcc instead of the Clang compiler without success so far.\r\n\r\nI have already set the HOMEBREW_CC and HOMEBREW_CXX variables and it isn't working. I have also edited its formula and added the following code, also without success:\r\n\r\n```ruby\r\n def install\r\n\r\n    # Force compilation with gcc-4.9\r\n    ENV['CC'] = '/usr/local/bin/gcc-4.9'\r\n    ENV['LD'] = '/usr/local/bin/gcc-4.9'\r\n    ENV['CXX'] = '/usr/local/bin/g++-4.9'\r\n\r\n    # Compiler complains about link compatibility with FORTRAN otherwise\r\n    ENV.delete('CFLAGS')\r\n    ENV.delete('CXXFLAGS')\r\n```\r\n\r\nAny ideas of what is going on?"}}