X-Git-Url: https://ruderich.org/simon/gitweb/?p=blhc%2Fblhc.git;a=blobdiff_plain;f=README;h=5e58567bbf6899f0078a7af423ff3236c05aa2e5;hp=aeccd300db8c5cc61487846b242692fa17ef8ccd;hb=d569fff93bdd0e2f2bf8c041a6534d8a19613969;hpb=83b9f67e03dbac9c42361d2e014f265d63d8d735 diff --git a/README b/README index aeccd30..5e58567 100644 --- a/README +++ b/README @@ -123,6 +123,10 @@ If it's not present no compiler commands are detected. In case you don't use dpkp-buildpackage but still want to check a build log, adding it as first line should work fine. +To prevent false positives when checking debug builds, compiler lines +containing '-OO' or '-Og' are considered debug builds and are not checked for +'-O2', even though fortification doesn't work without '-O2'. + The following non-verbose builds can't be detected: gcc -o test