| commit | a8b34706ef017a2032a78892a8595d36029f85a3 | [log] [tgz] |
|---|---|---|
| author | H.J. Lu <hjl.tools@gmail.com> | Tue Mar 15 08:52:30 2022 -0700 |
| committer | H.J. Lu <hjl.tools@gmail.com> | Wed Mar 16 06:43:24 2022 -0700 |
| tree | 0d27772419e172fad7c6b1209caba2bdda3602b5 | |
| parent | c5edd3b8847f118bd022c473b126695fb39f6412 [diff] |
gprofng: Don't hardcode -Wno-nonnull-compare Use -Wno-nonnull-compare only if it is supported. PR gprof/28969 * libcollector/Makefile.am (AM_CFLAGS): Replace -Wno-nonnull-compare with GPROFNG_NO_NONNULL_COMPARE_CFLAGS. * libcollector/configure.ac (GPROFNG_NO_NONNULL_COMPARE_CFLAGS): New AC_SUBST for -Wno-nonnull-compare. * libcollector/Makefile.in: Regenerate. * libcollector/aclocal.m4: Likewise. * libcollector/configure: Likewise.