2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-13 12:22:17 +00:00

Fix MinGW version tag to match GCC (#524)

This commit is contained in:
Peter Dimov
2020-01-01 05:46:00 -08:00
committed by Rene Rivera
parent 39289a3fa0
commit ab5ce1e468

View File

@@ -974,7 +974,7 @@ local rule toolset-tag ( name : type ? : property-set )
}
# From GCC 5, versioning changes and minor becomes patch
if $(tag) = gcc && $(version[1]) && [ numbers.less 4 $(version[1]) ]
if ( $(tag) = gcc || $(tag) = mgw ) && $(version[1]) && [ numbers.less 4 $(version[1]) ]
{
version = $(version[1]) ;
}