Skip to content
Commit 46e37b00 authored by Joel Holdsworth's avatar Joel Holdsworth Committed by Benjamin Cabé
Browse files

compiler: gcc: Support versions predating include-fixed/limits.h



GCC versions starting from 4.3.0 until 12.4.0 stored the limits.h header in
a directory named include-fixed/ . Before 4.3.0 and after 12.4.0 i.e. from
13.1.0 onward, the header is stored in a directory named include/ .

Previously, target.cmake would only detect if the GCC version was 13.1.0 or
newer. This patch adds a check to also check if it is older than 4.3.0.

Signed-off-by: default avatarJoel Holdsworth <jholdsworth@nvidia.com>
parent 1b399d78
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment