diff options
| author | Jim Meyering <meyering@redhat.com> | 2011-09-12 15:04:32 +0200 |
|---|---|---|
| committer | Jim Meyering <meyering@redhat.com> | 2011-09-12 19:07:00 +0200 |
| commit | 3f456c54bbd3b32e2324363ec9356137a27f7af4 (patch) | |
| tree | b91f929835816fa1b6a60df2737767318f2b1b6d /scripts/git-hooks/commit-msg | |
| parent | 82e86b483184fdc2646da679700a1190915a18c0 (diff) | |
| download | coreutils-3f456c54bbd3b32e2324363ec9356137a27f7af4.tar.gz coreutils-3f456c54bbd3b32e2324363ec9356137a27f7af4.zip | |
build: avoid unwarranted failure w/gcc-4.6.1 and --enable-gcc-warnings
* configure.ac (gl_GCC_VERSION_IFELSE): Define new macro.
(WERROR_CFLAGS): With --enable-gcc-warnings, use it to
add -Wsuggest-attribute=pure only with gcc 4.7 or newer.
Diffstat (limited to 'scripts/git-hooks/commit-msg')
0 files changed, 0 insertions, 0 deletions
