mirror of
https://github.com/ceph/ceph
synced 2025-01-18 09:02:08 +00:00
Fix -Wno-format and -Werror=format-security options clash
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>
This commit is contained in:
parent
d9e96b1708
commit
7df67a544f
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user