Skip to content
Commit bc654322 authored by Peter Korsgaard's avatar Peter Korsgaard
Browse files

toolchain: introduce HOSTCC_VERSION and fix gcc-4.3.x build with old host CCs

gcc < 4.2.0 doesn't support -Wno-overlength-stings, but gcc-4.3.x configure
fails to detect that, breaking the build.

Work around it by detecting the host gcc version (and store in HOSTCC_VERSION)
and set the proper configure variables for gcc < 4.2.0.
parent 4bcbf87c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment