diff --git a/src/cmd/INIT/make.probe b/src/cmd/INIT/make.probe index 10f0fbc8c..80a8ee7ac 100644 --- a/src/cmd/INIT/make.probe +++ b/src/cmd/INIT/make.probe @@ -42,9 +42,8 @@ probe_shared="'' -G -b -c -shared -Wl,dll" probe_shared_name="-Wl,-soname= -h" probe_shared_nostart="-nostartfiles" case `gcc -v 2>&1 | egrep gcc.version` in -*version' '7*) probe_shared_nostart= ;; -*version' '8*) probe_shared_nostart= ;; -*version' '9*) probe_shared_nostart= ;; +*version' '[0123456].*) ;; +*) probe_shared_nostart= ;; # gcc 7+ esac probe_shared_registry='"-update_registry $probe_shared_registry_file"' probe_shared_registry_file='registry.ld'