freebsd-dev/usr.sbin/trpt
Conrad Meyer 9531d560cf trpt(8): Clean up build hack to detect ancient compiler
Detect ancient GCC specifically, rather than using target architecture as a
crude heuristic.

Side note: compilers should really ignore -Wno- and -Wno-error= flags they
don't recognize.  Seems like modern compilers produce warnings instead of
errors.  Though, with -Werror they turn into errors.  Clang's error can be
disabled with -Wno-error=unknown-warning-option, but GCC doesn't seem to
have a named method to disable the specific warning.

Submitted by:	rpokala@ (earlier version)
Suggested by:	rpokala@
Reviewed by:	tinderbox
Sponsored by:	Dell EMC Isilon
2018-02-16 20:46:44 +00:00
..
Makefile trpt(8): Clean up build hack to detect ancient compiler 2018-02-16 20:46:44 +00:00
Makefile.depend
trpt.8
trpt.c trpt(8): Sprinkle style(9) and adddress warnings 2018-02-15 21:06:56 +00:00