diff options
-rw-r--r-- | etc/defaults/CC/TARGETS.grpc | 10 | ||||
-rw-r--r-- | etc/import/TARGETS.grpc | 8 |
2 files changed, 7 insertions, 11 deletions
diff --git a/etc/defaults/CC/TARGETS.grpc b/etc/defaults/CC/TARGETS.grpc index 500bbdb3..36b0bb33 100644 --- a/etc/defaults/CC/TARGETS.grpc +++ b/etc/defaults/CC/TARGETS.grpc @@ -93,12 +93,16 @@ , "-Wno-unused-parameter" , "-Wno-uninitialized" , "-Wno-missing-field-initializers" - , "-Wno-implicit-const-int-float-conversion" - , "-Wno-stringop-overflow" - , "-Wno-stringop-truncation" , "-DOSATOMIC_USE_INLINED=1" ] } + , { "type": "case" + , "expr": {"type": "var", "name": "COMPILER_FAMILY"} + , "case": + { "clang": ["-Wno-implicit-const-int-float-conversion"] + , "gnu": ["-Wno-stringop-overflow", "-Wno-stringop-truncation"] + } + } , { "type": "if" , "cond": {"type": "var", "name": "DEBUG"} , "then": ["-D_DEBUG", "-DDEBUG"] diff --git a/etc/import/TARGETS.grpc b/etc/import/TARGETS.grpc index 6025f092..70115b89 100644 --- a/etc/import/TARGETS.grpc +++ b/etc/import/TARGETS.grpc @@ -155,14 +155,6 @@ { "type": ["@", "rules", "CC", "library"] , "arguments_config": ["ARCH", "TARGET_ARCH", "COMPILER_FAMILY"] , "name": ["grpc_base_c"] - , "local cflags": - { "type": "case" - , "expr": {"type": "var", "name": "COMPILER_FAMILY", "default": "unknown"} - , "case": - { "clang": ["-Wno-implicit-const-int-float-conversion"] - , "gnu": ["-Wno-stringop-overflow", "-Wno-stringop-truncation"] - } - } , "srcs": [ "src/core/lib/avl/avl.cc" , "src/core/lib/backoff/backoff.cc" |