diff options
Diffstat (limited to 'transitions')
-rw-r--r-- | transitions/EXPRESSIONS | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/transitions/EXPRESSIONS b/transitions/EXPRESSIONS index 4fd0d1e..db401a0 100644 --- a/transitions/EXPRESSIONS +++ b/transitions/EXPRESSIONS @@ -10,6 +10,22 @@ } } } +, "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": |