]> ruderich.org/simon Gitweb - blhc/blhc.git/commitdiff
Detect i486-gnu-gcc as compiler.
authorSimon Ruderich <simon@ruderich.org>
Thu, 22 Mar 2012 13:35:49 +0000 (14:35 +0100)
committerSimon Ruderich <simon@ruderich.org>
Thu, 22 Mar 2012 13:35:49 +0000 (14:35 +0100)
bin/blhc
t/logs/configure

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.
index 1403036e2e928c9ef4d48dcbf71a1520ad7c849d..bc4d57cdf5fb830992efe3a0b4963d73df5225ee 100644 (file)
@@ -15,6 +15,7 @@ Host C compiler   gcc
 
   compiler                    cc
 
+  Compiler:              i486-gnu-gcc
   Compiler:              arm-linux-gnueabi-gcc
   Compiler:              arm-linux-gnueabihf-gcc
   Compiler:              i486-linux-gnu-gcc
@@ -25,6 +26,7 @@ Host C compiler   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