{"issue":{"state":"closed","created_at":"2011-12-14T16:33:56Z","updated_at":"2011-12-15T04:12:15Z","user":{"gravatar_id":"34d93b72fc973018681149c9da41cd72","id":515193,"url":"https://api.github.com/users/astiob","avatar_url":"https://secure.gravatar.com/avatar/34d93b72fc973018681149c9da41cd72?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"astiob"},"comments":1,"body":"As discussed in #8105:\r\n\r\nI’ve re-read my commit (#8105, already pulled) once more and noticed a bug that affects one particular corner case: if the machine has a plain Nehalem CPU, and Clang is chosen as the default compiler (by pointing /usr/bin/cc to it or by specifying `--use-clang` or `HOMEBREW_USE_CLANG`), and /usr/bin/clang and /usr/bin/clang++ do not both exist or the formula chooses some other compiler, then `-Xclang -target-feature -Xclang -aes` is left in `CFLAGS` and `CPPFLAGS` and compilation fails with `cc1: error: unrecognized command line option \"-aes\"` (funnily enough the other three flags are silently ignored). This pull request contains a one-line fix.\r\n\r\nOnce again sorry for noticing things only after you pull.","assignee":null,"id":2554485,"labels":[],"pull_request":{"patch_url":"https://github.com/mxcl/homebrew/pull/9117.patch","html_url":"https://github.com/mxcl/homebrew/pull/9117","diff_url":"https://github.com/mxcl/homebrew/pull/9117.diff"},"number":9117,"title":"Remove Clang-specific cflags when switching compilers","html_url":"https://github.com/mxcl/homebrew/issues/9117","closed_at":"2011-12-15T04:12:14Z","milestone":null,"url":"https://api.github.com/repos/mxcl/homebrew/issues/9117"},"action":"created","comment":{"created_at":"2011-12-15T04:12:14Z","updated_at":"2011-12-15T04:12:14Z","user":{"gravatar_id":"7ea0cc75793eb2b1ada4abc953a41592","id":3566,"url":"https://api.github.com/users/adamv","avatar_url":"https://secure.gravatar.com/avatar/7ea0cc75793eb2b1ada4abc953a41592?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"adamv"},"body":"Pulled.","id":3156533,"url":"https://api.github.com/repos/mxcl/homebrew/issues/comments/3156533"}}