diff --git a/metadef b/metadef index c14d2be..5546f5f 160000 --- a/metadef +++ b/metadef @@ -1 +1 @@ -Subproject commit c14d2be38171eed63416e71178774103faf1f5cd +Subproject commit 5546f5f4701130f2dd11a6d69817dc37d52c497e diff --git a/parser/CMakeLists.txt b/parser/CMakeLists.txt index c58092e..413e96e 100644 --- a/parser/CMakeLists.txt +++ b/parser/CMakeLists.txt @@ -49,6 +49,7 @@ add_library(fmk_parser SHARED ${SRC_LIST} ${PROTO_SRCS}) target_compile_options(fmk_parser PRIVATE -Werror -Wno-deprecated-declarations + -fno-common ) target_compile_definitions(fmk_parser PRIVATE diff --git a/parser/common/CMakeLists.txt b/parser/common/CMakeLists.txt index 7471782..cf22fee 100644 --- a/parser/common/CMakeLists.txt +++ b/parser/common/CMakeLists.txt @@ -33,6 +33,7 @@ add_library(parser_common SHARED ${SRC_LIST}) target_compile_options(parser_common PRIVATE -Werror -Wno-deprecated-declarations + -fno-common ) target_compile_definitions(parser_common PRIVATE diff --git a/parser/onnx/CMakeLists.txt b/parser/onnx/CMakeLists.txt index 9f68773..fd91d3a 100644 --- a/parser/onnx/CMakeLists.txt +++ b/parser/onnx/CMakeLists.txt @@ -19,6 +19,7 @@ add_library(fmk_onnx_parser SHARED ${SRC_LIST} ${PROTO_HDRS}) target_compile_options(fmk_onnx_parser PRIVATE -Werror -Wno-deprecated-declarations + -fno-common ) target_compile_definitions(fmk_onnx_parser PRIVATE