Skip to content

Commit

Permalink
add support for apple-gcc42 in requirements_osx_brew_libs_default_che…
Browse files Browse the repository at this point in the history
…ck_gcc, fix #2133
  • Loading branch information
mpapis committed Aug 15, 2013
1 parent 7de4bb0 commit 2b899c9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/functions/requirements/osx_brew
Expand Up @@ -182,9 +182,10 @@ requirements_osx_brew_after()
requirements_osx_brew_libs_default_check_gcc()
{
if
requirements_detect_installed gcc46 gcc47 gcc48
requirements_detect_installed apple-gcc42 gcc46 gcc47 gcc48
then
case "${packages_installed[*]}" in
(*gcc42*) export CC=gcc-4.2 ;;
(*gcc46*) export CC=gcc-4.6 ;;
(*gcc47*) export CC=gcc-4.7 ;;
(*gcc48*) export CC=gcc-4.8 ;;
Expand Down

0 comments on commit 2b899c9

Please sign in to comment.