]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Fix -Wno-format and -Werror=format-security options clash 6207/head
authorBoris Ranto <branto@redhat.com>
Fri, 15 Aug 2014 17:34:27 +0000 (19:34 +0200)
committerNathan Cutler <ncutler@suse.com>
Thu, 8 Oct 2015 20:24:58 +0000 (22:24 +0200)
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>
(cherry picked from commit 7df67a544f6401fd31157b6e2a6ca590d87d7cbc)

Conflicts:
src/test/Makefile.am

src/test/Makefile.am

index 69f9e841f516368bd59338d22f7e6356c5175b5b..9ede2758cc05ff5e147886f4ee163bfc37fcc4ef 100644 (file)
@@ -646,7 +646,7 @@ bin_DEBUGPROGRAMS += ceph_test_librbd
 if LINUX
 ceph_test_librbd_fsx_SOURCES = test/librbd/fsx.c
 ceph_test_librbd_fsx_LDADD = $(LIBRBD) $(LIBRADOS) -lm
-ceph_test_librbd_fsx_CFLAGS = ${AM_CFLAGS} -Wno-format
+ceph_test_librbd_fsx_CFLAGS = ${AM_CFLAGS}
 bin_DEBUGPROGRAMS += ceph_test_librbd_fsx
 endif