]> ruderich.org/simon Gitweb - blhc/blhc.git/commitdiff
Handle another configure false positive.
authorSimon Ruderich <simon@ruderich.org>
Sat, 17 Mar 2012 22:11:12 +0000 (23:11 +0100)
committerSimon Ruderich <simon@ruderich.org>
Sat, 17 Mar 2012 22:11:12 +0000 (23:11 +0100)
bin/blhc
t/logs/configure

index 9430479bd435828153e6efc13d5401593fb88a1d..1d1fc27d6d2a5cdbe613de7c37cdf04105243f1f 100755 (executable)
--- a/bin/blhc
+++ b/bin/blhc
@@ -326,7 +326,7 @@ while (my $line = <>) {
             # `./configure` output.
             next if not $non_verbose and $line =~ /^checking /;
             next if $line =~ /^\s*(?:C|c)ompiler[\s.]*:\s+$cc_regex(?:\s-std=[a-z0-9:+]+)?\s*$/
-                    or $line =~ /^\s*(?:CC|CXX)\s*=\s*$cc_regex\s*$/
+                    or $line =~ /^\s*(?:- )?(?:CC|CXX)\s*=\s*$cc_regex\s*$/
                     or $line =~ /^\s*-- Check for working (?:C|CXX) compiler: /
                     or $line =~ /^\s*(?:echo )?Using [A-Z_]+\s*=\s*/;
 
index 039535b1e14d1203c724e2a7e55e13b350fd4aca..f8e1a276a8f621907ea49cc3c64568f4211e5b33 100644 (file)
@@ -57,3 +57,5 @@ echo Using ALL_CFLAGS="-D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector --param=ssp
 Using ALL_CFLAGS=-D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security
 echo Using LDFLAGS="-Wl,-z,relro -Wl,--as-needed -fPIE -pie -Wall"
 Using LDFLAGS=-Wl,-z,relro -Wl,--as-needed -fPIE -pie -Wall
+
+CC      = cc