diff options
Diffstat (limited to 'transitions/EXPRESSIONS')
-rw-r--r-- | transitions/EXPRESSIONS | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/transitions/EXPRESSIONS b/transitions/EXPRESSIONS index 596b20e..fef8542 100644 --- a/transitions/EXPRESSIONS +++ b/transitions/EXPRESSIONS @@ -19,6 +19,22 @@ , "body": {"type": "env", "vars": ["BUILD_ARCH", "TARGET_ARCH"]} } } +, "with fPIC": + { "doc": + [ "Transition that enables BUILD_POSITION_INDEPENDENT if config_field" + , "\"shared\" is not empty." + ] + , "expression": + { "type": "if" + , "cond": {"type": "FIELD", "name": "shared"} + , "then": + { "type": "singleton_map" + , "key": "BUILD_POSITION_INDEPENDENT" + , "value": true + } + , "else": {"type": "empty_map"} + } + } , "target properties": { "vars": ["ARCH", "TARGET_ARCH", "ARCH_DISPATCH"] , "expression": |