Browse Source

!175 add -fno-common

Merge pull request !175 from taoxudong/development
pull/175/MERGE
i-robot Gitee 5 years ago
parent
commit
ecde83dc9d
4 changed files with 4 additions and 1 deletions
  1. +1
    -1
      metadef
  2. +1
    -0
      parser/CMakeLists.txt
  3. +1
    -0
      parser/common/CMakeLists.txt
  4. +1
    -0
      parser/onnx/CMakeLists.txt

+ 1
- 1
metadef

@@ -1 +1 @@
Subproject commit c14d2be38171eed63416e71178774103faf1f5cd
Subproject commit 5546f5f4701130f2dd11a6d69817dc37d52c497e

+ 1
- 0
parser/CMakeLists.txt View File

@@ -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


+ 1
- 0
parser/common/CMakeLists.txt View File

@@ -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


+ 1
- 0
parser/onnx/CMakeLists.txt View File

@@ -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


Loading…
Cancel
Save