Fixes Debian Bug #772853 reported by Jakub Wilk.
#784959), reported by Raphaƫl Hertzog.
- Fix false positive with `gcc -v` (Debian Bug #765756), reported by Andreas
Beckmann.
+- Fix false positive in `rm` lines (Debian Bug #772853), reported by Jakub
+ Wilk.
Version 0.05
# contains them.
next if $line =~ m{^\s+/usr/lib/gcc/$cc_regex_full_prefix/
[0-9.]+/cc1(?:plus)?}xo;
+ # Ignore false positive with `rm` which may remove files which
+ # look like a compiler executable thus causing the line to be
+ # treated as a normal compiler line.
+ next if $line =~ m{^\s*rm\s+};
# Check if additional hardening options were used. Used to ensure
# they are used for the complete build.
+ CC=gcc CFLAGS=-g -O2 ... sh ../../build.sh -r -c lto
+rm -f afl-gcc afl-as afl-fuzz afl-showmap as afl-g++ afl-clang afl-clang++ *.o *~ a.out core core.[1-9][0-9]* *.stackdump test .test test-instr .test-instr0 .test-instr1
+
# gcc -v can cause false positives.
cd GUI && qmake
/usr/bin/make -C GUI