summaryrefslogtreecommitdiff
path: root/etc/defaults
diff options
context:
space:
mode:
Diffstat (limited to 'etc/defaults')
-rw-r--r--etc/defaults/CC/TARGETS13
1 files changed, 13 insertions, 0 deletions
diff --git a/etc/defaults/CC/TARGETS b/etc/defaults/CC/TARGETS
index f6e13ea6..97ca6ae8 100644
--- a/etc/defaults/CC/TARGETS
+++ b/etc/defaults/CC/TARGETS
@@ -56,5 +56,18 @@
, "else": ["-O2", "-DNDEBUG"]
}
}
+ , "ADD_LDFLAGS":
+ { "type": "if"
+ , "cond":
+ { "type": "lookup"
+ , "map":
+ { "type": "var"
+ , "name": "TOOLCHAIN_CONFIG"
+ , "default": {"type": "empty_map"}
+ }
+ , "key": "BUILD_STATIC"
+ }
+ , "then": ["-static"]
+ }
}
}