]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
Fix -Wno-format and -Werror=format-security options clash
authorBoris Ranto <branto@redhat.com>
Fri, 15 Aug 2014 17:34:27 +0000 (19:34 +0200)
committerSage Weil <sage@redhat.com>
Fri, 15 Aug 2014 22:00:59 +0000 (15:00 -0700)
This causes build failure in latest fedora builds, ceph_test_librbd_fsx adds -Wno-format cflag but the default AM_CFLAGS already contain -Werror=format-security, in previous releases, this was tolerated but in the latest fedora rawhide it no longer is, ceph_test_librbd_fsx builds fine without -Wno-format on x86_64 so there is likely no need for the flag anymore

Signed-off-by: Boris Ranto <branto@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
src/test/Makefile.am

index e58d556faf808447a9e3d52ab498c6d24d5d07f0..58d3a42669de9d6a9557f4a594d0731a3c324942 100644 (file)
@@ -658,7 +658,7 @@ if LINUX
 # Force use of C++ linker with dummy.cc - LIBKRBD is a C++ library
 ceph_test_librbd_fsx_SOURCES = test/librbd/fsx.c common/dummy.cc
 ceph_test_librbd_fsx_LDADD = $(LIBKRBD) $(LIBRBD) $(LIBRADOS)
-ceph_test_librbd_fsx_CFLAGS = ${AM_CFLAGS} -Wno-format
+ceph_test_librbd_fsx_CFLAGS = ${AM_CFLAGS}
 bin_DEBUGPROGRAMS += ceph_test_librbd_fsx
 endif