Whamcloud - gitweb
Fix "make gcc-wall" for library code
authorTheodore Ts'o <tytso@mit.edu>
Sun, 29 May 2016 21:07:17 +0000 (17:07 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 29 May 2016 21:07:17 +0000 (17:07 -0400)
commitc2ff6bac501ce53580fb6d7970606b01f9ed3644
tree4cf834d3790290020c6537e4634174b1541bddcc
parent62f9bd0e4f7547fe01f829025888d477a973a539
Fix "make gcc-wall" for library code

Commit fd1677e80: "Add --enable-hardening which builds e2fsprogs with
security hardening" broken the gcc warnings mode by changing how
CFLAGS were used to build static and shared library objects.

Also shut up GCC's whining about casting the return value from
dlsym(2) to function pointers --- since due to conflicing standards,
there is no way to use dlsym() without causing gcc to whine one way or
another.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
MCONFIG.in
util/gcc-wall-cleanup