]> ruderich.org/simon Gitweb - blhc/blhc.git/blobdiff - bin/blhc
Detect i486-gnu-gcc as compiler.
[blhc/blhc.git] / bin / blhc
index a28f36f1126e4a404b5cfce9b8c9c9f1127b6f82..666c2afc207ddbb6bbacb4d997c107d9306a0df9 100755 (executable)
--- a/bin/blhc
+++ b/bin/blhc
@@ -31,7 +31,7 @@ our $VERSION = '0.01';
 # 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.