]> ruderich.org/simon Gitweb - blhc/blhc.git/blobdiff - bin/blhc
Minor documentation update.
[blhc/blhc.git] / bin / blhc
index 704d323694031709909d15becefea70ab006ffee..34bd55fd29c6d5a7c714ca164b5d79da50c802bf 100755 (executable)
--- a/bin/blhc
+++ b/bin/blhc
@@ -979,18 +979,18 @@ LINE:
         }
 
         if (not $flag_preprocess) {
-        # If there are source files then it's compiling/linking in one step
-        # and we must check both. We only check for source files here, because
-        # header files cause too many false positives.
+            # If there are source files then it's compiling/linking in one
+            # step and we must check both. We only check for source files
+            # here, because header files cause too many false positives.
             if (extension_found(\%extensions_compile_link, @extensions)) {
-            # Assembly files don't need CFLAGS.
-            if (not extension_found(\%extensions_compile, @extensions)
-                    and extension_found(\%extensions_no_compile, @extensions)) {
-                $compile = 0;
-            # But the rest does.
-            } else {
-                $compile = 1;
-            }
+                # Assembly files don't need CFLAGS.
+                if (not extension_found(\%extensions_compile, @extensions)
+                        and extension_found(\%extensions_no_compile, @extensions)) {
+                    $compile = 0;
+                # But the rest does.
+                } else {
+                    $compile = 1;
+                }
             # No compilable extensions found, either linking or compiling
             # header flags.
             #
@@ -1184,7 +1184,8 @@ Don't require Term::ANSIColor.
 
 =item *
 
-Return exit code 0, unless there was a error.
+Return exit code 0, unless there was a error (-I, -W messages don't count as
+error).
 
 =back