# CONSTANTS/VARIABLES
# Regex to catch compiler commands.
-my $cc_regex = qr/(?:[a-z0-9_]+-(?:linux|kfreebsd)-gnu(?:eabi|eabihf)?-)?
+my $cc_regex = qr/(?:[a-z0-9_]+-(?:linux-|kfreebsd-)?gnu(?:eabi|eabihf)?-)?
(?:(?<!\.)cc|gcc|g\+\+|c\+\+)
(?:-[\d.]+)?/x;
# Regex to catch (GCC) compiler warnings.
compiler cc
+ Compiler: i486-gnu-gcc
Compiler: arm-linux-gnueabi-gcc
Compiler: arm-linux-gnueabihf-gcc
Compiler: i486-linux-gnu-gcc
Compiler: mipsel-linux-gnu-gcc
Compiler: powerpc-linux-gnu-gcc
Compiler: s390-linux-gnu-gcc
+ Compiler: s390x-linux-gnu-gcc
Compiler: sparc-linux-gnu-gcc
- General Compile FLAGS