diff --git a/configure.in b/configure.in index 48e60c0db4c7..579b8f0feed2 100644 --- a/configure.in +++ b/configure.in @@ -9137,7 +9137,7 @@ fi if test -n "$MOZ_USING_CCACHE"; then # Avoid double prepending ccache by omitting --with-ccache in building NSPR. - _SUBDIR_CONFIG_ARGS="`echo $_SUBDIR_CONFIG_ARGS | sed -e 's/--with-ccache\S* *//'`" + _SUBDIR_CONFIG_ARGS="`echo $_SUBDIR_CONFIG_ARGS | sed -e 's/--with-ccache[^ ]+//'`" fi MOZ_SUBCONFIGURE_NSPR()