summaryrefslogtreecommitdiff
path: root/etc/import/src/google/protobuf/TARGETS.protobuf
diff options
context:
space:
mode:
Diffstat (limited to 'etc/import/src/google/protobuf/TARGETS.protobuf')
-rw-r--r--etc/import/src/google/protobuf/TARGETS.protobuf13
1 files changed, 11 insertions, 2 deletions
diff --git a/etc/import/src/google/protobuf/TARGETS.protobuf b/etc/import/src/google/protobuf/TARGETS.protobuf
index 0589f938..7add3c15 100644
--- a/etc/import/src/google/protobuf/TARGETS.protobuf
+++ b/etc/import/src/google/protobuf/TARGETS.protobuf
@@ -266,11 +266,20 @@
}
, "libprotobuf_lite":
{ "type": ["@", "rules", "CC", "library"]
- , "arguments_config": ["COMPILER_FAMILY"]
+ , "arguments_config": ["TOOLCHAIN_CONFIG"]
, "name": ["protobuf-lite"]
, "cflags":
{ "type": "case"
- , "expr": {"type": "var", "name": "COMPILER_FAMILY", "default": "unknown"}
+ , "expr":
+ { "type": "lookup"
+ , "map":
+ { "type": "var"
+ , "name": "TOOLCHAIN_CONFIG"
+ , "default": {"type": "empty_map"}
+ }
+ , "key": "FAMILY"
+ , "default": "unknown"
+ }
, "case":
{ "gnu":
[ "-Wno-sign-compare"