diff --git a/config/ompi_config_asm.m4 b/config/ompi_config_asm.m4 index 45fff4f799..dee0a2b4c3 100644 --- a/config/ompi_config_asm.m4 +++ b/config/ompi_config_asm.m4 @@ -809,7 +809,7 @@ AC_DEFUN([OMPI_CONFIG_ASM],[ OMPI_VAR_SCOPE_PUSH([ompi_config_asm_flags_new ompi_config_asm_flag]) AC_MSG_CHECKING([if need to remove -g from CCASFLAGS]) case "$host" in - *-apple-darwin9.0*) + *-apple-darwin9.*) for ompi_config_asm_flag in $CCASFLAGS; do if test "$ompi_config_asm_flag" != "-g"; then ompi_config_asm_flags_new="$ompi_config_asm_flags_new $ompi_config_asm_flag"