to disable following warning:
In file included from ../src/common/config.h:27,
from ../src/crimson/common/config_proxy.h:8,
from ../src/crimson/osd/main.cc:23:
../src/common/config_values.h: In copy constructor ‘ConfigValues::ConfigValues(const ConfigValues&)’:
../src/common/config_values.h:19:7: note: variable tracking size limit exceeded with ‘-fvar-tracking-assignments’, retrying without
19 | class ConfigValues {
| ^~~~~~~~~~~~
Signed-off-by: Kefu Chai <kchai@redhat.com>
${PROJECT_SOURCE_DIR}/src/osd/osd_perf_counters.cc
watch.cc
)
+if(HAS_VTA)
+ set_source_files_properties(main.cc
+ PROPERTIES COMPILE_FLAGS -fno-var-tracking-assignments)
+endif()
target_link_libraries(crimson-osd
crimson-admin
crimson-common