mirror of
https://github.com/nasa/trick.git
synced 2025-04-07 19:34:23 +00:00
Changed the regular expression that grabs the gcc version to accept either 1 digit or 2.
This commit is contained in:
parent
497f11f132
commit
04d50df7cd
@ -65,7 +65,7 @@ sub gte (@) {
|
||||
else {
|
||||
$ret = `gcc -dumpversion` ;
|
||||
}
|
||||
($gcc_version) = $ret =~ /(\d+\.\d+)/ ;
|
||||
($gcc_version) = $ret =~ /(\d+(?:\.\d+)?)/ ;
|
||||
|
||||
if ( $system_type eq "Linux" ) {
|
||||
$def{"TRICK_HOST_CPU"} = $system_type . "_" . $gcc_version ;
|
||||
|
Loading…
x
Reference in New Issue
Block a user