1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
{ "defaults":
{ "type": "export"
, "target": "defaults (unexported)"
, "flexible_config":
["ARCH", "ENV", "HOST_ARCH", "TARGET_ARCH", "TOOLCHAIN_CONFIG"]
}
, "defaults (unexported)":
{ "type": ["@", "rules", "CC", "defaults"]
, "arguments_config": ["TOOLCHAIN_CONFIG"]
, "CC": ["gcc/bin/gcc"]
, "CXX": ["gcc/bin/g++"]
, "AR": ["gcc/bin/ar"]
, "LDFLAGS":
{ "type": "if"
, "cond":
{ "type": "lookup"
, "key": "STATIC_RUNLIBS"
, "map":
{ "type": "var"
, "name": "TOOLCHAIN_CONFIG"
, "default": {"type": "empty_map"}
}
}
, "then": ["-static-libgcc", "-static-libstdc++"]
}
, "deps":
{ "type": "if"
, "cond":
{ "type": "lookup"
, "key": "STATIC_RUNLIBS"
, "map":
{ "type": "var"
, "name": "TOOLCHAIN_CONFIG"
, "default": {"type": "empty_map"}
}
}
, "then": []
, "else": [["@", "gcc", "", "runlibs"]]
}
, "toolchain": ["staged-gcc"]
, "PATH": ["/bin", "/usr/bin"]
}
, "staged-gcc": {"type": "install", "dirs": [[["", "toolchain"], "gcc"]]}
}
|