diff options
author | Oliver Reiche <oliver.reiche@huawei.com> | 2022-03-03 13:43:44 +0100 |
---|---|---|
committer | Oliver Reiche <oliver.reiche@huawei.com> | 2022-03-03 15:09:11 +0100 |
commit | 3e1a403d5790b09dc0b2cdeac22db188d58ff0cc (patch) | |
tree | 38b22a53ebe19bedcbd1af60e50dd882e47d4b10 /CC/EXPRESSIONS | |
parent | d7d7f9d796bc73c8f8cb2dbb6e58039a663f9ef3 (diff) | |
download | rules-cc-3e1a403d5790b09dc0b2cdeac22db188d58ff0cc.tar.gz |
CC rules: Add support for local cflags
Diffstat (limited to 'CC/EXPRESSIONS')
-rw-r--r-- | CC/EXPRESSIONS | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/CC/EXPRESSIONS b/CC/EXPRESSIONS index f1e6592..1002147 100644 --- a/CC/EXPRESSIONS +++ b/CC/EXPRESSIONS @@ -322,6 +322,7 @@ , "srcs" , "hdrs" , "private-hdrs" + , "local cflags" , "link external" , "extra-provides" ] @@ -376,6 +377,14 @@ } } ] + , [ "CXXFLAGS" + , { "type": "++" + , "$1": + [ {"type": "var", "name": "CXXFLAGS"} + , {"type": "var", "name": "local cflags", "default": []} + ] + } + ] , [ "ENV" , { "type": "map_union" , "$1": |