rocksdb, compilation: disable some flags according to CONFIG.
This will avoid possible complitation issue. Change-Id: I423d5e200c53cae4f8c5317d8b04e08a09c3b59a Signed-off-by: Ziye Yang <optimistyzy@gmail.com> Reviewed-on: https://review.gerrithub.io/371435 Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: GangCao <gang.cao@intel.com> Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com>
This commit is contained in:
parent
e4cfa8e34e
commit
4c7b79a528
@ -46,8 +46,12 @@ CXXFLAGS += -Wno-missing-declarations
|
||||
# The SPDK Makefiles may turn these options on but we do not want to enable
|
||||
# them for the RocksDB source files.
|
||||
CXXFLAGS += -fno-profile-arcs -fno-test-coverage
|
||||
ifeq ($(CONFIG_UBSAN),y)
|
||||
CXXFLAGS += -fno-sanitize=undefined
|
||||
endif
|
||||
ifeq ($(CONFIG_ASAN),y)
|
||||
CXXFLAGS += -fno-sanitize=address
|
||||
endif
|
||||
|
||||
SPDK_LIB_LIST = event_bdev event_copy event_rpc
|
||||
SPDK_LIB_LIST += blobfs blob bdev blob_bdev copy event util conf trace \
|
||||
|
Loading…
Reference in New Issue
Block a user