Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame^] | 1 | # GENERATED FILE. DO NOT EDIT |
| 2 | # Generated by tools/cpp/gen_crosstool.py |
Brian Silverman | 12b3fc5 | 2015-10-11 19:38:33 -0400 | [diff] [blame] | 3 | major_version: "local" |
| 4 | minor_version: "" |
| 5 | default_target_cpu: "same_as_host" |
Brian Silverman | 12b3fc5 | 2015-10-11 19:38:33 -0400 | [diff] [blame] | 6 | default_toolchain { |
Austin Schuh | 23da18b | 2015-10-11 20:52:49 -0700 | [diff] [blame] | 7 | cpu: "roborio" |
| 8 | toolchain_identifier: "roborio_linux" |
| 9 | } |
Austin Schuh | 23da18b | 2015-10-11 20:52:49 -0700 | [diff] [blame] | 10 | default_toolchain { |
Brian Silverman | 12b3fc5 | 2015-10-11 19:38:33 -0400 | [diff] [blame] | 11 | cpu: "k8" |
Austin Schuh | 23da18b | 2015-10-11 20:52:49 -0700 | [diff] [blame] | 12 | toolchain_identifier: "k8_linux" |
Brian Silverman | 12b3fc5 | 2015-10-11 19:38:33 -0400 | [diff] [blame] | 13 | } |
Brian Silverman | 12b3fc5 | 2015-10-11 19:38:33 -0400 | [diff] [blame] | 14 | default_toolchain { |
| 15 | cpu: "armeabi-v7a" |
| 16 | toolchain_identifier: "stub_armeabi-v7a" |
| 17 | } |
Brian Silverman | 0d57fc8 | 2016-01-24 21:02:53 -0500 | [diff] [blame] | 18 | default_toolchain { |
| 19 | cpu: "armhf-debian" |
| 20 | toolchain_identifier: "clang_linux_armhf" |
| 21 | } |
Brian Silverman | 8b63869 | 2017-06-26 23:10:26 -0700 | [diff] [blame] | 22 | default_toolchain { |
| 23 | cpu: "cortex-m4f" |
| 24 | toolchain_identifier: "cortex-m4f" |
| 25 | } |
Brian Silverman | 12b3fc5 | 2015-10-11 19:38:33 -0400 | [diff] [blame] | 26 | toolchain { |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame^] | 27 | toolchain_identifier: "stub_armeabi-v7a" |
| 28 | host_system_name: "armeabi-v7a" |
| 29 | target_system_name: "armeabi-v7a" |
| 30 | target_cpu: "armeabi-v7a" |
| 31 | target_libc: "armeabi-v7a" |
| 32 | compiler: "compiler" |
Brian Silverman | 12b3fc5 | 2015-10-11 19:38:33 -0400 | [diff] [blame] | 33 | abi_version: "armeabi-v7a" |
| 34 | abi_libc_version: "armeabi-v7a" |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame^] | 35 | tool_path { |
| 36 | name: "ar" |
| 37 | path: "/bin/false" |
| 38 | } |
| 39 | tool_path { |
| 40 | name: "compat-ld" |
| 41 | path: "/bin/false" |
| 42 | } |
| 43 | tool_path { |
| 44 | name: "cpp" |
| 45 | path: "/bin/false" |
| 46 | } |
| 47 | tool_path { |
| 48 | name: "dwp" |
| 49 | path: "/bin/false" |
| 50 | } |
| 51 | tool_path { |
| 52 | name: "gcc" |
| 53 | path: "/bin/false" |
| 54 | } |
| 55 | tool_path { |
| 56 | name: "gcov" |
| 57 | path: "/bin/false" |
| 58 | } |
| 59 | tool_path { |
| 60 | name: "ld" |
| 61 | path: "/bin/false" |
| 62 | } |
| 63 | tool_path { |
| 64 | name: "nm" |
| 65 | path: "/bin/false" |
| 66 | } |
| 67 | tool_path { |
| 68 | name: "objcopy" |
| 69 | path: "/bin/false" |
| 70 | } |
| 71 | tool_path { |
| 72 | name: "objdump" |
| 73 | path: "/bin/false" |
| 74 | } |
| 75 | tool_path { |
| 76 | name: "strip" |
| 77 | path: "/bin/false" |
| 78 | } |
Brian Silverman | 12b3fc5 | 2015-10-11 19:38:33 -0400 | [diff] [blame] | 79 | supports_gold_linker: false |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame^] | 80 | supports_thin_archives: false |
| 81 | needsPic: true |
| 82 | builtin_sysroot: "" |
Brian Silverman | 12b3fc5 | 2015-10-11 19:38:33 -0400 | [diff] [blame] | 83 | supports_normalizing_ar: false |
| 84 | supports_start_end_lib: false |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame^] | 85 | supports_interface_shared_objects: false |
| 86 | supports_incremental_linker: false |
| 87 | supports_fission: false |
Brian Silverman | 12b3fc5 | 2015-10-11 19:38:33 -0400 | [diff] [blame] | 88 | } |
Brian Silverman | 12b3fc5 | 2015-10-11 19:38:33 -0400 | [diff] [blame] | 89 | toolchain { |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame^] | 90 | toolchain_identifier: "k8_linux" |
| 91 | host_system_name: "local" |
| 92 | target_system_name: "k8" |
| 93 | target_cpu: "k8" |
| 94 | target_libc: "local" |
| 95 | compiler: "clang" |
Brian Silverman | 12b3fc5 | 2015-10-11 19:38:33 -0400 | [diff] [blame] | 96 | abi_version: "local" |
| 97 | abi_libc_version: "local" |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame^] | 98 | tool_path { |
| 99 | name: "ar" |
| 100 | path: "clang_3p6/x86_64-linux-gnu-ar" |
| 101 | } |
| 102 | tool_path { |
| 103 | name: "compat-ld" |
| 104 | path: "clang_3p6/x86_64-linux-gnu-ld" |
| 105 | } |
| 106 | tool_path { |
| 107 | name: "cpp" |
| 108 | path: "clang_3p6/x86_64-linux-gnu-cpp" |
| 109 | } |
| 110 | tool_path { |
| 111 | name: "dwp" |
| 112 | path: "clang_3p6/x86_64-linux-gnu-dwp" |
| 113 | } |
| 114 | tool_path { |
| 115 | name: "gcc" |
| 116 | path: "clang_3p6/x86_64-linux-gnu-clang-3.6" |
| 117 | } |
| 118 | tool_path { |
| 119 | name: "gcov" |
| 120 | path: "clang_3p6/x86_64-linux-gnu-gcov" |
| 121 | } |
| 122 | tool_path { |
| 123 | name: "ld" |
| 124 | path: "clang_3p6/x86_64-linux-gnu-ld" |
| 125 | } |
| 126 | tool_path { |
| 127 | name: "nm" |
| 128 | path: "clang_3p6/x86_64-linux-gnu-nm" |
| 129 | } |
| 130 | tool_path { |
| 131 | name: "objcopy" |
| 132 | path: "clang_3p6/x86_64-linux-gnu-objcopy" |
| 133 | } |
| 134 | tool_path { |
| 135 | name: "objdump" |
| 136 | path: "clang_3p6/x86_64-linux-gnu-objdump" |
| 137 | } |
| 138 | tool_path { |
| 139 | name: "strip" |
| 140 | path: "clang_3p6/x86_64-linux-gnu-strip" |
| 141 | } |
Brian Silverman | 12b3fc5 | 2015-10-11 19:38:33 -0400 | [diff] [blame] | 142 | supports_gold_linker: false |
Brian Silverman | 12b3fc5 | 2015-10-11 19:38:33 -0400 | [diff] [blame] | 143 | supports_thin_archives: false |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame^] | 144 | needsPic: true |
Philipp Schrader | 9b1790e | 2018-03-10 20:21:30 -0800 | [diff] [blame] | 145 | compiler_flag: "--sysroot=external/clang_3p6_repo/" |
| 146 | compiler_flag: "-nostdinc" |
| 147 | compiler_flag: "-isystem" |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame^] | 148 | compiler_flag: "external/clang_3p6_repo/usr/include" |
Philipp Schrader | 9b1790e | 2018-03-10 20:21:30 -0800 | [diff] [blame] | 149 | compiler_flag: "-isystem" |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame^] | 150 | compiler_flag: "external/clang_3p6_repo/usr/include/x86_64-linux-gnu" |
Philipp Schrader | 9b1790e | 2018-03-10 20:21:30 -0800 | [diff] [blame] | 151 | compiler_flag: "-isystem" |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame^] | 152 | compiler_flag: "external/clang_3p6_repo/usr/lib/llvm-3.6/lib/clang/3.6.2/include" |
| 153 | compiler_flag: "-D__STDC_FORMAT_MACROS" |
| 154 | compiler_flag: "-D__STDC_CONSTANT_MACROS" |
| 155 | compiler_flag: "-D__STDC_LIMIT_MACROS" |
| 156 | compiler_flag: "-D_FILE_OFFSET_BITS=64" |
| 157 | compiler_flag: "-DAOS_ARCHITECTURE_arm_frc" |
| 158 | compiler_flag: "-U_FORTIFY_SOURCE" |
| 159 | compiler_flag: "-D_FORTIFY_SOURCE=1" |
| 160 | compiler_flag: "-fstack-protector" |
| 161 | compiler_flag: "-fPIE" |
| 162 | compiler_flag: "-fcolor-diagnostics" |
| 163 | compiler_flag: "-fmessage-length=80" |
| 164 | compiler_flag: "-fmacro-backtrace-limit=0" |
| 165 | compiler_flag: "-Wall" |
| 166 | compiler_flag: "-Wextra" |
| 167 | compiler_flag: "-Wpointer-arith" |
| 168 | compiler_flag: "-Wstrict-aliasing" |
| 169 | compiler_flag: "-Wcast-qual" |
| 170 | compiler_flag: "-Wcast-align" |
| 171 | compiler_flag: "-Wwrite-strings" |
| 172 | compiler_flag: "-Wtype-limits" |
| 173 | compiler_flag: "-Wsign-compare" |
| 174 | compiler_flag: "-Wformat=2" |
| 175 | compiler_flag: "-Werror" |
| 176 | compiler_flag: "-fno-omit-frame-pointer" |
| 177 | compiler_flag: "-pipe" |
| 178 | compiler_flag: "-ggdb3" |
Philipp Schrader | 9b1790e | 2018-03-10 20:21:30 -0800 | [diff] [blame] | 179 | cxx_flag: "-isystem" |
| 180 | cxx_flag: "external/clang_3p6_repo/usr/include/c++/4.9" |
| 181 | cxx_flag: "-isystem" |
| 182 | cxx_flag: "external/clang_3p6_repo/usr/include/x86_64-linux-gnu/c++/4.9" |
| 183 | cxx_flag: "-isystem" |
| 184 | cxx_flag: "external/clang_3p6_repo/usr/include/c++/4.9/backward" |
Philipp Schrader | 9b1790e | 2018-03-10 20:21:30 -0800 | [diff] [blame] | 185 | linker_flag: "-nodefaultlibs" |
| 186 | linker_flag: "--sysroot=external/clang_3p6_repo/" |
Brian Silverman | 12b3fc5 | 2015-10-11 19:38:33 -0400 | [diff] [blame] | 187 | linker_flag: "-lstdc++" |
Philipp Schrader | 9b1790e | 2018-03-10 20:21:30 -0800 | [diff] [blame] | 188 | linker_flag: "-lc" |
| 189 | linker_flag: "-lgcc" |
| 190 | linker_flag: "-lgcc_s" |
| 191 | linker_flag: "-Bexternal/clang_3p6_repo/usr/bin/" |
| 192 | linker_flag: "-Ltools/cpp/clang_3p6/clang_more_libs" |
| 193 | linker_flag: "-Lexternal/clang_3p6/lib/x86_64-linux-gnu" |
| 194 | linker_flag: "-Lexternal/clang_3p6/usr/lib/x86_64-linux-gnu" |
| 195 | linker_flag: "-Lexternal/clang_3p6/usr/lib/gcc/x86_64-linux-gnu" |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame^] | 196 | linker_flag: "-no-canonical-prefixes" |
| 197 | linker_flag: "-fuse-ld=gold" |
| 198 | linker_flag: "-Wl,-z,relro,-z,now" |
| 199 | linker_flag: "-lm" |
| 200 | linker_flag: "-Wl,--build-id=md5" |
| 201 | linker_flag: "-Wl,--hash-style=gnu" |
| 202 | linker_flag: "-Wl,--warn-execstack" |
| 203 | linker_flag: "-Wl,--detect-odr-violations" |
| 204 | objcopy_embed_flag: "-I" |
| 205 | objcopy_embed_flag: "binary" |
| 206 | compilation_mode_flags { |
| 207 | mode: OPT |
| 208 | compiler_flag: "-O2" |
| 209 | compiler_flag: "-DNDEBUG" |
| 210 | compiler_flag: "-ffunction-sections" |
| 211 | compiler_flag: "-fdata-sections" |
| 212 | linker_flag: "-Wl,--gc-sections" |
| 213 | } |
| 214 | linking_mode_flags { |
| 215 | mode: DYNAMIC |
| 216 | } |
| 217 | cxx_builtin_include_directory: "%package(@clang_3p6_repo//usr)%/include/c++/4.9" |
| 218 | cxx_builtin_include_directory: "%package(@clang_3p6_repo//usr)%/include/x86_64-linux-gnu/c++/4.9" |
| 219 | cxx_builtin_include_directory: "%package(@clang_3p6_repo//usr)%/include/c++/4.9/backward" |
| 220 | cxx_builtin_include_directory: "%package(@clang_3p6_repo//usr)%/local/include" |
| 221 | cxx_builtin_include_directory: "%package(@clang_3p6_repo//usr)%/lib/llvm-3.6/lib/clang/3.6.2/include" |
| 222 | cxx_builtin_include_directory: "%package(@clang_3p6_repo//usr)%/include/x86_64-linux-gnu" |
| 223 | cxx_builtin_include_directory: "%package(@clang_3p6_repo//usr)%/include" |
| 224 | cxx_builtin_include_directory: "%package(@clang_3p6_repo//usr)%/lib/clang/3.6.2/include" |
| 225 | builtin_sysroot: "" |
| 226 | unfiltered_cxx_flag: "-no-canonical-prefixes" |
| 227 | unfiltered_cxx_flag: "-Wno-builtin-macro-redefined" |
| 228 | unfiltered_cxx_flag: "-D__DATE__=\"redacted\"" |
| 229 | unfiltered_cxx_flag: "-D__TIMESTAMP__=\"redacted\"" |
| 230 | unfiltered_cxx_flag: "-D__TIME__=\"redacted\"" |
| 231 | supports_normalizing_ar: false |
| 232 | supports_start_end_lib: false |
| 233 | supports_interface_shared_objects: false |
| 234 | supports_incremental_linker: false |
| 235 | supports_fission: false |
Brian Silverman | 12b3fc5 | 2015-10-11 19:38:33 -0400 | [diff] [blame] | 236 | feature { |
| 237 | name: "opt" |
Brian Silverman | 12b3fc5 | 2015-10-11 19:38:33 -0400 | [diff] [blame] | 238 | flag_set { |
| 239 | action: "preprocess-assemble" |
| 240 | action: "c-compile" |
| 241 | action: "c++-compile" |
| 242 | action: "c++-header-parsing" |
| 243 | action: "c++-header-preprocessing" |
| 244 | action: "c++-module-compile" |
| 245 | flag_group { |
| 246 | flag: "-DAOS_DEBUG=0" |
| 247 | } |
| 248 | } |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame^] | 249 | implies: "all_modes" |
Brian Silverman | 12b3fc5 | 2015-10-11 19:38:33 -0400 | [diff] [blame] | 250 | } |
Brian Silverman | 12b3fc5 | 2015-10-11 19:38:33 -0400 | [diff] [blame] | 251 | feature { |
| 252 | name: "dbg" |
Brian Silverman | 12b3fc5 | 2015-10-11 19:38:33 -0400 | [diff] [blame] | 253 | flag_set { |
| 254 | action: "preprocess-assemble" |
| 255 | action: "c-compile" |
| 256 | action: "c++-compile" |
| 257 | action: "c++-header-parsing" |
| 258 | action: "c++-header-preprocessing" |
| 259 | action: "c++-module-compile" |
| 260 | flag_group { |
| 261 | flag: "-DAOS_DEBUG=1" |
| 262 | } |
Brian Silverman | a4a4ea6 | 2015-11-27 10:27:53 -0500 | [diff] [blame] | 263 | flag_group { |
| 264 | flag: "-fno-omit-frame-pointer" |
| 265 | } |
Brian Silverman | 12b3fc5 | 2015-10-11 19:38:33 -0400 | [diff] [blame] | 266 | } |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame^] | 267 | implies: "all_modes" |
Brian Silverman | 12b3fc5 | 2015-10-11 19:38:33 -0400 | [diff] [blame] | 268 | } |
Brian Silverman | 12b3fc5 | 2015-10-11 19:38:33 -0400 | [diff] [blame] | 269 | feature { |
| 270 | name: "fastbuild" |
Brian Silverman | 12b3fc5 | 2015-10-11 19:38:33 -0400 | [diff] [blame] | 271 | flag_set { |
| 272 | action: "preprocess-assemble" |
| 273 | action: "c-compile" |
| 274 | action: "c++-compile" |
| 275 | action: "c++-header-parsing" |
| 276 | action: "c++-header-preprocessing" |
| 277 | action: "c++-module-compile" |
| 278 | flag_group { |
| 279 | flag: "-DAOS_DEBUG=0" |
| 280 | } |
| 281 | } |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame^] | 282 | implies: "all_modes" |
Brian Silverman | 12b3fc5 | 2015-10-11 19:38:33 -0400 | [diff] [blame] | 283 | } |
Brian Silverman | 12b3fc5 | 2015-10-11 19:38:33 -0400 | [diff] [blame] | 284 | feature { |
| 285 | name: "all_modes" |
| 286 | flag_set { |
Austin Schuh | a20ae72 | 2015-11-01 12:29:38 -0800 | [diff] [blame] | 287 | action: "preprocess-assemble" |
| 288 | action: "assemble" |
Brian Silverman | 12b3fc5 | 2015-10-11 19:38:33 -0400 | [diff] [blame] | 289 | action: "c-compile" |
| 290 | flag_group { |
| 291 | flag: "-std=gnu99" |
| 292 | } |
| 293 | } |
| 294 | flag_set { |
| 295 | action: "c++-compile" |
| 296 | action: "c++-header-parsing" |
| 297 | action: "c++-header-preprocessing" |
| 298 | action: "c++-module-compile" |
| 299 | flag_group { |
Austin Schuh | a20ae72 | 2015-11-01 12:29:38 -0800 | [diff] [blame] | 300 | flag: "-std=gnu++1y" |
Brian Silverman | 12b3fc5 | 2015-10-11 19:38:33 -0400 | [diff] [blame] | 301 | } |
Brian Silverman | 23a1b34 | 2015-10-11 23:44:09 -0400 | [diff] [blame] | 302 | } |
| 303 | flag_set { |
| 304 | action: "preprocess-assemble" |
Austin Schuh | 23da18b | 2015-10-11 20:52:49 -0700 | [diff] [blame] | 305 | action: "assemble" |
| 306 | action: "c++-link" |
Brian Silverman | 23a1b34 | 2015-10-11 23:44:09 -0400 | [diff] [blame] | 307 | action: "c++-compile" |
| 308 | action: "c++-header-parsing" |
| 309 | action: "c++-header-preprocessing" |
| 310 | action: "c++-module-compile" |
Austin Schuh | 23da18b | 2015-10-11 20:52:49 -0700 | [diff] [blame] | 311 | action: "c-compile" |
Brian Silverman | 5dc0007 | 2015-10-12 00:38:14 -0400 | [diff] [blame] | 312 | flag_group { |
Brian Silverman | 5dc0007 | 2015-10-12 00:38:14 -0400 | [diff] [blame] | 313 | flag: "-pthread" |
| 314 | } |
Brian Silverman | 12b3fc5 | 2015-10-11 19:38:33 -0400 | [diff] [blame] | 315 | } |
| 316 | } |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame^] | 317 | feature { |
| 318 | name: "pie_for_linking" |
| 319 | flag_set { |
| 320 | action: "c++-link-executable" |
| 321 | flag_group { |
| 322 | flag: "-pie" |
| 323 | } |
| 324 | } |
| 325 | enabled: true |
| 326 | } |
| 327 | } |
| 328 | toolchain { |
| 329 | toolchain_identifier: "roborio_linux" |
| 330 | host_system_name: "roborio" |
| 331 | target_system_name: "roborio" |
| 332 | target_cpu: "roborio" |
| 333 | target_libc: "roborio" |
| 334 | compiler: "gcc" |
| 335 | abi_version: "roborio" |
| 336 | abi_libc_version: "roborio" |
| 337 | tool_path { |
| 338 | name: "ar" |
| 339 | path: "arm-frc-linux-gnueabi/arm-frc-linux-gnueabi-ar" |
| 340 | } |
| 341 | tool_path { |
| 342 | name: "compat-ld" |
| 343 | path: "arm-frc-linux-gnueabi/arm-frc-linux-gnueabi-ld" |
| 344 | } |
| 345 | tool_path { |
| 346 | name: "cpp" |
| 347 | path: "arm-frc-linux-gnueabi/arm-frc-linux-gnueabi-cpp" |
| 348 | } |
| 349 | tool_path { |
| 350 | name: "dwp" |
| 351 | path: "/bin/false" |
| 352 | } |
| 353 | tool_path { |
| 354 | name: "gcc" |
| 355 | path: "arm-frc-linux-gnueabi/arm-frc-linux-gnueabi-gcc" |
| 356 | } |
| 357 | tool_path { |
| 358 | name: "gcov" |
| 359 | path: "arm-frc-linux-gnueabi/arm-frc-linux-gnueabi-gcov-4.9" |
| 360 | } |
| 361 | tool_path { |
| 362 | name: "ld" |
| 363 | path: "arm-frc-linux-gnueabi/arm-frc-linux-gnueabi-ld" |
| 364 | } |
| 365 | tool_path { |
| 366 | name: "nm" |
| 367 | path: "arm-frc-linux-gnueabi/arm-frc-linux-gnueabi-nm" |
| 368 | } |
| 369 | tool_path { |
| 370 | name: "objcopy" |
| 371 | path: "arm-frc-linux-gnueabi/arm-frc-linux-gnueabi-objcopy" |
| 372 | } |
| 373 | tool_path { |
| 374 | name: "objdump" |
| 375 | path: "arm-frc-linux-gnueabi/arm-frc-linux-gnueabi-objdump" |
| 376 | } |
| 377 | tool_path { |
| 378 | name: "strip" |
| 379 | path: "arm-frc-linux-gnueabi/arm-frc-linux-gnueabi-strip" |
| 380 | } |
| 381 | supports_gold_linker: false |
| 382 | supports_thin_archives: false |
| 383 | needsPic: true |
| 384 | compiler_flag: "--sysroot=external/arm_frc_linux_gnueabi_repo/usr/arm-frc-linux-gnueabi" |
| 385 | compiler_flag: "-nostdinc" |
| 386 | compiler_flag: "-isystem" |
| 387 | compiler_flag: "external/arm_frc_linux_gnueabi_repo/usr/lib/x86_64-linux-gnu/gcc/arm-frc-linux-gnueabi/5.4.0/include" |
| 388 | compiler_flag: "-isystem" |
| 389 | compiler_flag: "external/arm_frc_linux_gnueabi_repo/usr/lib/x86_64-linux-gnu/gcc/arm-frc-linux-gnueabi/5.4.0/include-fixed" |
| 390 | compiler_flag: "-isystem" |
| 391 | compiler_flag: "external/arm_frc_linux_gnueabi_repo/usr/arm-frc-linux-gnueabi/usr/include" |
| 392 | compiler_flag: "-mfpu=neon" |
Brian Silverman | 12b3fc5 | 2015-10-11 19:38:33 -0400 | [diff] [blame] | 393 | compiler_flag: "-D__STDC_FORMAT_MACROS" |
| 394 | compiler_flag: "-D__STDC_CONSTANT_MACROS" |
| 395 | compiler_flag: "-D__STDC_LIMIT_MACROS" |
| 396 | compiler_flag: "-D_FILE_OFFSET_BITS=64" |
Austin Schuh | 23da18b | 2015-10-11 20:52:49 -0700 | [diff] [blame] | 397 | compiler_flag: "-DAOS_ARCHITECTURE_arm_frc" |
Brian Silverman | 12b3fc5 | 2015-10-11 19:38:33 -0400 | [diff] [blame] | 398 | compiler_flag: "-U_FORTIFY_SOURCE" |
Brian Silverman | 12b3fc5 | 2015-10-11 19:38:33 -0400 | [diff] [blame] | 399 | compiler_flag: "-fstack-protector" |
| 400 | compiler_flag: "-fPIE" |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame^] | 401 | compiler_flag: "-fdiagnostics-color=always" |
Brian Silverman | 12b3fc5 | 2015-10-11 19:38:33 -0400 | [diff] [blame] | 402 | compiler_flag: "-Wall" |
| 403 | compiler_flag: "-Wextra" |
Brian Silverman | 12b3fc5 | 2015-10-11 19:38:33 -0400 | [diff] [blame] | 404 | compiler_flag: "-Wpointer-arith" |
Brian Silverman | 594be0d | 2015-10-31 17:56:23 -0400 | [diff] [blame] | 405 | compiler_flag: "-Wstrict-aliasing" |
Brian Silverman | 12b3fc5 | 2015-10-11 19:38:33 -0400 | [diff] [blame] | 406 | compiler_flag: "-Wcast-qual" |
| 407 | compiler_flag: "-Wcast-align" |
| 408 | compiler_flag: "-Wwrite-strings" |
| 409 | compiler_flag: "-Wtype-limits" |
| 410 | compiler_flag: "-Wsign-compare" |
| 411 | compiler_flag: "-Wformat=2" |
| 412 | compiler_flag: "-Werror" |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame^] | 413 | compiler_flag: "-Wunused-local-typedefs" |
Brian Silverman | 12b3fc5 | 2015-10-11 19:38:33 -0400 | [diff] [blame] | 414 | compiler_flag: "-fno-omit-frame-pointer" |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame^] | 415 | compiler_flag: "-D__has_feature(x)=0" |
Brian Silverman | 12b3fc5 | 2015-10-11 19:38:33 -0400 | [diff] [blame] | 416 | compiler_flag: "-pipe" |
Brian Silverman | d254040 | 2015-11-28 18:35:00 -0500 | [diff] [blame] | 417 | compiler_flag: "-ggdb3" |
Austin Schuh | 044e18b | 2015-10-21 20:17:09 -0700 | [diff] [blame] | 418 | cxx_flag: "-isystem" |
Austin Schuh | 94f51e9 | 2017-10-30 19:25:32 -0700 | [diff] [blame] | 419 | cxx_flag: "external/arm_frc_linux_gnueabi_repo/usr/arm-frc-linux-gnueabi/include/c++/5.4.0" |
Austin Schuh | 044e18b | 2015-10-21 20:17:09 -0700 | [diff] [blame] | 420 | cxx_flag: "-isystem" |
Austin Schuh | 94f51e9 | 2017-10-30 19:25:32 -0700 | [diff] [blame] | 421 | cxx_flag: "external/arm_frc_linux_gnueabi_repo/usr/arm-frc-linux-gnueabi/include/c++/5.4.0/arm-frc-linux-gnueabi" |
Austin Schuh | 044e18b | 2015-10-21 20:17:09 -0700 | [diff] [blame] | 422 | cxx_flag: "-isystem" |
Austin Schuh | 94f51e9 | 2017-10-30 19:25:32 -0700 | [diff] [blame] | 423 | cxx_flag: "external/arm_frc_linux_gnueabi_repo/usr/arm-frc-linux-gnueabi/include/c++/5.4.0/backward" |
Austin Schuh | 044e18b | 2015-10-21 20:17:09 -0700 | [diff] [blame] | 424 | cxx_flag: "-isystem" |
Austin Schuh | 94f51e9 | 2017-10-30 19:25:32 -0700 | [diff] [blame] | 425 | cxx_flag: "external/arm_frc_linux_gnueabi_repo/usr/lib/x86_64-linux-gnu/gcc/arm-frc-linux-gnueabi/5.4.0/include" |
Austin Schuh | 044e18b | 2015-10-21 20:17:09 -0700 | [diff] [blame] | 426 | cxx_flag: "-isystem" |
Austin Schuh | 94f51e9 | 2017-10-30 19:25:32 -0700 | [diff] [blame] | 427 | cxx_flag: "external/arm_frc_linux_gnueabi_repo/usr/lib/x86_64-linux-gnu/gcc/arm-frc-linux-gnueabi/5.4.0/include-fixed" |
Austin Schuh | 044e18b | 2015-10-21 20:17:09 -0700 | [diff] [blame] | 428 | cxx_flag: "-isystem" |
Brian Silverman | 826e1cd | 2016-01-31 18:26:00 -0500 | [diff] [blame] | 429 | cxx_flag: "external/arm_frc_linux_gnueabi_repo/usr/arm-frc-linux-gnueabi/include" |
Austin Schuh | 044e18b | 2015-10-21 20:17:09 -0700 | [diff] [blame] | 430 | cxx_flag: "-isystem" |
Brian Silverman | 826e1cd | 2016-01-31 18:26:00 -0500 | [diff] [blame] | 431 | cxx_flag: "external/arm_frc_linux_gnueabi_repo/usr/arm-frc-linux-gnueabi/usr/include" |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame^] | 432 | linker_flag: "-lstdc++" |
| 433 | linker_flag: "-Ltools/cpp/arm-frc-linux-gnueabi/libs" |
| 434 | linker_flag: "-no-canonical-prefixes" |
| 435 | linker_flag: "-Wl,-z,relro,-z,now" |
| 436 | linker_flag: "-lm" |
| 437 | linker_flag: "-pass-exit-codes" |
| 438 | linker_flag: "-Wl,--build-id=md5" |
| 439 | linker_flag: "-Wl,--hash-style=gnu" |
| 440 | objcopy_embed_flag: "-I" |
| 441 | objcopy_embed_flag: "binary" |
| 442 | compilation_mode_flags { |
| 443 | mode: OPT |
| 444 | compiler_flag: "-O2" |
| 445 | compiler_flag: "-DNDEBUG" |
| 446 | compiler_flag: "-D_FORTIFY_SOURCE=1" |
| 447 | compiler_flag: "-ffunction-sections" |
| 448 | compiler_flag: "-fdata-sections" |
| 449 | linker_flag: "-Wl,--gc-sections" |
| 450 | } |
| 451 | linking_mode_flags { |
| 452 | mode: DYNAMIC |
| 453 | } |
Austin Schuh | 94f51e9 | 2017-10-30 19:25:32 -0700 | [diff] [blame] | 454 | cxx_builtin_include_directory: "%package(@arm_frc_linux_gnueabi_repo//usr/arm-frc-linux-gnueabi/include)%/c++/5.4.0" |
| 455 | cxx_builtin_include_directory: "%package(@arm_frc_linux_gnueabi_repo//usr/arm-frc-linux-gnueabi/include)%/c++/5.4.0/arm-frc-linux-gnueabi" |
| 456 | cxx_builtin_include_directory: "%package(@arm_frc_linux_gnueabi_repo//usr/arm-frc-linux-gnueabi/include)%/c++/5.4.0/backward" |
| 457 | cxx_builtin_include_directory: "%package(@arm_frc_linux_gnueabi_repo//usr/lib/x86_64-linux-gnu/gcc/arm-frc-linux-gnueabi/5.4.0/include)%" |
| 458 | cxx_builtin_include_directory: "%package(@arm_frc_linux_gnueabi_repo//usr/lib/x86_64-linux-gnu/gcc/arm-frc-linux-gnueabi/5.4.0/include-fixed)%" |
Brian Silverman | 826e1cd | 2016-01-31 18:26:00 -0500 | [diff] [blame] | 459 | cxx_builtin_include_directory: "%package(@arm_frc_linux_gnueabi_repo//usr/arm-frc-linux-gnueabi/include)%" |
| 460 | cxx_builtin_include_directory: "%package(@arm_frc_linux_gnueabi_repo//usr/arm-frc-linux-gnueabi/usr/include)%" |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame^] | 461 | builtin_sysroot: "" |
| 462 | unfiltered_cxx_flag: "-no-canonical-prefixes" |
| 463 | unfiltered_cxx_flag: "-Wno-builtin-macro-redefined" |
| 464 | unfiltered_cxx_flag: "-D__DATE__=\"redacted\"" |
| 465 | unfiltered_cxx_flag: "-D__TIMESTAMP__=\"redacted\"" |
| 466 | unfiltered_cxx_flag: "-D__TIME__=\"redacted\"" |
| 467 | supports_normalizing_ar: false |
| 468 | supports_start_end_lib: false |
| 469 | supports_interface_shared_objects: false |
| 470 | supports_incremental_linker: false |
| 471 | supports_fission: false |
Austin Schuh | 23da18b | 2015-10-11 20:52:49 -0700 | [diff] [blame] | 472 | feature { |
| 473 | name: "opt" |
Austin Schuh | 23da18b | 2015-10-11 20:52:49 -0700 | [diff] [blame] | 474 | flag_set { |
| 475 | action: "preprocess-assemble" |
| 476 | action: "c-compile" |
| 477 | action: "c++-compile" |
| 478 | action: "c++-header-parsing" |
| 479 | action: "c++-header-preprocessing" |
| 480 | action: "c++-module-compile" |
| 481 | flag_group { |
| 482 | flag: "-DAOS_DEBUG=0" |
| 483 | } |
| 484 | } |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame^] | 485 | implies: "all_modes" |
Austin Schuh | 23da18b | 2015-10-11 20:52:49 -0700 | [diff] [blame] | 486 | } |
Austin Schuh | 23da18b | 2015-10-11 20:52:49 -0700 | [diff] [blame] | 487 | feature { |
| 488 | name: "dbg" |
Austin Schuh | 23da18b | 2015-10-11 20:52:49 -0700 | [diff] [blame] | 489 | flag_set { |
| 490 | action: "preprocess-assemble" |
| 491 | action: "c-compile" |
| 492 | action: "c++-compile" |
| 493 | action: "c++-header-parsing" |
| 494 | action: "c++-header-preprocessing" |
| 495 | action: "c++-module-compile" |
| 496 | flag_group { |
| 497 | flag: "-DAOS_DEBUG=1" |
| 498 | } |
Brian Silverman | a4a4ea6 | 2015-11-27 10:27:53 -0500 | [diff] [blame] | 499 | flag_group { |
| 500 | flag: "-fno-omit-frame-pointer" |
| 501 | } |
Austin Schuh | 23da18b | 2015-10-11 20:52:49 -0700 | [diff] [blame] | 502 | } |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame^] | 503 | implies: "all_modes" |
Austin Schuh | 23da18b | 2015-10-11 20:52:49 -0700 | [diff] [blame] | 504 | } |
Austin Schuh | 23da18b | 2015-10-11 20:52:49 -0700 | [diff] [blame] | 505 | feature { |
| 506 | name: "fastbuild" |
Austin Schuh | 23da18b | 2015-10-11 20:52:49 -0700 | [diff] [blame] | 507 | flag_set { |
| 508 | action: "preprocess-assemble" |
| 509 | action: "c-compile" |
| 510 | action: "c++-compile" |
| 511 | action: "c++-header-parsing" |
| 512 | action: "c++-header-preprocessing" |
| 513 | action: "c++-module-compile" |
| 514 | flag_group { |
| 515 | flag: "-DAOS_DEBUG=0" |
| 516 | } |
| 517 | } |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame^] | 518 | implies: "all_modes" |
Austin Schuh | 23da18b | 2015-10-11 20:52:49 -0700 | [diff] [blame] | 519 | } |
Austin Schuh | 23da18b | 2015-10-11 20:52:49 -0700 | [diff] [blame] | 520 | feature { |
| 521 | name: "all_modes" |
| 522 | flag_set { |
Austin Schuh | 23da18b | 2015-10-11 20:52:49 -0700 | [diff] [blame] | 523 | action: "preprocess-assemble" |
| 524 | action: "assemble" |
Brian Silverman | a4a4ea6 | 2015-11-27 10:27:53 -0500 | [diff] [blame] | 525 | action: "c-compile" |
Austin Schuh | 23da18b | 2015-10-11 20:52:49 -0700 | [diff] [blame] | 526 | flag_group { |
| 527 | flag: "-std=gnu99" |
| 528 | } |
| 529 | } |
| 530 | flag_set { |
| 531 | action: "c++-compile" |
| 532 | action: "c++-header-parsing" |
| 533 | action: "c++-header-preprocessing" |
| 534 | action: "c++-module-compile" |
| 535 | flag_group { |
| 536 | flag: "-std=gnu++1y" |
| 537 | } |
| 538 | } |
| 539 | flag_set { |
| 540 | action: "preprocess-assemble" |
| 541 | action: "assemble" |
| 542 | action: "c++-link" |
| 543 | action: "c++-compile" |
| 544 | action: "c++-header-parsing" |
| 545 | action: "c++-header-preprocessing" |
| 546 | action: "c++-module-compile" |
| 547 | action: "c-compile" |
| 548 | flag_group { |
Austin Schuh | 23da18b | 2015-10-11 20:52:49 -0700 | [diff] [blame] | 549 | flag: "-pthread" |
| 550 | } |
| 551 | } |
| 552 | } |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame^] | 553 | feature { |
| 554 | name: "pie_for_linking" |
| 555 | flag_set { |
| 556 | action: "c++-link-executable" |
| 557 | flag_group { |
| 558 | flag: "-pie" |
| 559 | } |
| 560 | } |
| 561 | enabled: true |
| 562 | } |
| 563 | } |
| 564 | toolchain { |
| 565 | toolchain_identifier: "clang_linux_armhf" |
| 566 | host_system_name: "linux" |
| 567 | target_system_name: "arm_a15" |
| 568 | target_cpu: "armhf-debian" |
| 569 | target_libc: "glibc_2.19" |
| 570 | compiler: "clang" |
| 571 | abi_version: "clang_3.6" |
| 572 | abi_libc_version: "glibc_2.19" |
| 573 | tool_path { |
| 574 | name: "ar" |
| 575 | path: "linaro_linux_gcc/arm-linux-gnueabihf-ar" |
| 576 | } |
| 577 | tool_path { |
| 578 | name: "compat-ld" |
| 579 | path: "linaro_linux_gcc/arm-linux-gnueabihf-ld" |
| 580 | } |
| 581 | tool_path { |
| 582 | name: "cpp" |
| 583 | path: "linaro_linux_gcc/clang_bin/clang" |
| 584 | } |
| 585 | tool_path { |
| 586 | name: "dwp" |
| 587 | path: "linaro_linux_gcc/arm-linux-gnueabihf-dwp" |
| 588 | } |
| 589 | tool_path { |
| 590 | name: "gcc" |
| 591 | path: "linaro_linux_gcc/clang_bin/clang" |
| 592 | } |
| 593 | tool_path { |
| 594 | name: "gcov" |
| 595 | path: "arm-frc-linux-gnueabi/arm-frc-linux-gnueabi-gcov-4.9" |
| 596 | } |
| 597 | tool_path { |
| 598 | name: "ld" |
| 599 | path: "linaro_linux_gcc/arm-linux-gnueabihf-ld" |
| 600 | } |
| 601 | tool_path { |
| 602 | name: "nm" |
| 603 | path: "linaro_linux_gcc/arm-linux-gnueabihf-nm" |
| 604 | } |
| 605 | tool_path { |
| 606 | name: "objcopy" |
| 607 | path: "linaro_linux_gcc/arm-linux-gnueabihf-objcopy" |
| 608 | } |
| 609 | tool_path { |
| 610 | name: "objdump" |
| 611 | path: "linaro_linux_gcc/arm-linux-gnueabihf-objdump" |
| 612 | } |
| 613 | tool_path { |
| 614 | name: "strip" |
| 615 | path: "linaro_linux_gcc/arm-linux-gnueabihf-strip" |
| 616 | } |
| 617 | supports_gold_linker: false |
| 618 | supports_thin_archives: true |
| 619 | needsPic: true |
| 620 | compiler_flag: "-target" |
| 621 | compiler_flag: "armv7a-arm-linux-gnueabif" |
| 622 | compiler_flag: "--sysroot=external/linaro_linux_gcc_4_9_repo/arm-linux-gnueabihf/libc" |
| 623 | compiler_flag: "-mfloat-abi=hard" |
| 624 | compiler_flag: "-mfpu=vfpv3-d16" |
| 625 | compiler_flag: "-nostdinc" |
| 626 | compiler_flag: "-isystem" |
| 627 | compiler_flag: "/usr/lib/clang/3.6/include" |
| 628 | compiler_flag: "-isystem" |
| 629 | compiler_flag: "external/linaro_linux_gcc_4_9_repo/lib/gcc/arm-linux-gnueabihf/4.9.3/include" |
| 630 | compiler_flag: "-isystem" |
| 631 | compiler_flag: "external/linaro_linux_gcc_4_9_repo/arm-linux-gnueabihf/libc/usr/include" |
| 632 | compiler_flag: "-isystem" |
| 633 | compiler_flag: "external/linaro_linux_gcc_4_9_repo/lib/gcc/arm-linux-gnueabihf/4.9.3/include-fixed" |
Austin Schuh | 23da18b | 2015-10-11 20:52:49 -0700 | [diff] [blame] | 634 | compiler_flag: "-D__STDC_FORMAT_MACROS" |
| 635 | compiler_flag: "-D__STDC_CONSTANT_MACROS" |
| 636 | compiler_flag: "-D__STDC_LIMIT_MACROS" |
| 637 | compiler_flag: "-D_FILE_OFFSET_BITS=64" |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame^] | 638 | compiler_flag: "-DAOS_ARCHITECTURE_armhf" |
Austin Schuh | 23da18b | 2015-10-11 20:52:49 -0700 | [diff] [blame] | 639 | compiler_flag: "-U_FORTIFY_SOURCE" |
| 640 | compiler_flag: "-fstack-protector" |
| 641 | compiler_flag: "-fPIE" |
Austin Schuh | 23da18b | 2015-10-11 20:52:49 -0700 | [diff] [blame] | 642 | compiler_flag: "-fdiagnostics-color=always" |
Austin Schuh | 23da18b | 2015-10-11 20:52:49 -0700 | [diff] [blame] | 643 | compiler_flag: "-Wall" |
| 644 | compiler_flag: "-Wextra" |
Austin Schuh | 23da18b | 2015-10-11 20:52:49 -0700 | [diff] [blame] | 645 | compiler_flag: "-Wpointer-arith" |
Brian Silverman | 594be0d | 2015-10-31 17:56:23 -0400 | [diff] [blame] | 646 | compiler_flag: "-Wstrict-aliasing" |
Austin Schuh | 23da18b | 2015-10-11 20:52:49 -0700 | [diff] [blame] | 647 | compiler_flag: "-Wcast-qual" |
| 648 | compiler_flag: "-Wcast-align" |
| 649 | compiler_flag: "-Wwrite-strings" |
| 650 | compiler_flag: "-Wtype-limits" |
| 651 | compiler_flag: "-Wsign-compare" |
| 652 | compiler_flag: "-Wformat=2" |
| 653 | compiler_flag: "-Werror" |
Brian Silverman | a4a4ea6 | 2015-11-27 10:27:53 -0500 | [diff] [blame] | 654 | compiler_flag: "-Wunused-local-typedefs" |
Austin Schuh | 23da18b | 2015-10-11 20:52:49 -0700 | [diff] [blame] | 655 | compiler_flag: "-fno-omit-frame-pointer" |
Austin Schuh | 23da18b | 2015-10-11 20:52:49 -0700 | [diff] [blame] | 656 | compiler_flag: "-pipe" |
Brian Silverman | d254040 | 2015-11-28 18:35:00 -0500 | [diff] [blame] | 657 | compiler_flag: "-ggdb3" |
Brian Silverman | 0d57fc8 | 2016-01-24 21:02:53 -0500 | [diff] [blame] | 658 | cxx_flag: "-isystem" |
Austin Schuh | 6166083 | 2016-03-04 21:56:39 -0800 | [diff] [blame] | 659 | cxx_flag: "external/linaro_linux_gcc_4_9_repo/arm-linux-gnueabihf/include/c++/4.9.3/arm-linux-gnueabihf" |
Brian Silverman | 0d57fc8 | 2016-01-24 21:02:53 -0500 | [diff] [blame] | 660 | cxx_flag: "-isystem" |
Austin Schuh | 6166083 | 2016-03-04 21:56:39 -0800 | [diff] [blame] | 661 | cxx_flag: "external/linaro_linux_gcc_4_9_repo/arm-linux-gnueabihf/include/c++/4.9.3" |
Brian Silverman | 0d57fc8 | 2016-01-24 21:02:53 -0500 | [diff] [blame] | 662 | cxx_flag: "-isystem" |
Austin Schuh | 6166083 | 2016-03-04 21:56:39 -0800 | [diff] [blame] | 663 | cxx_flag: "external/linaro_linux_gcc_4_9_repo/include/c++/4.9.3/arm-linux-gnueabihf" |
Brian Silverman | 0d57fc8 | 2016-01-24 21:02:53 -0500 | [diff] [blame] | 664 | cxx_flag: "-isystem" |
Austin Schuh | 6166083 | 2016-03-04 21:56:39 -0800 | [diff] [blame] | 665 | cxx_flag: "external/linaro_linux_gcc_4_9_repo/include/c++/4.9.3" |
Brian Silverman | 0d57fc8 | 2016-01-24 21:02:53 -0500 | [diff] [blame] | 666 | linker_flag: "-target" |
| 667 | linker_flag: "armv7a-arm-linux-gnueabif" |
Austin Schuh | 6166083 | 2016-03-04 21:56:39 -0800 | [diff] [blame] | 668 | linker_flag: "--sysroot=external/linaro_linux_gcc_4_9_repo/arm-linux-gnueabihf/libc" |
Brian Silverman | 0d57fc8 | 2016-01-24 21:02:53 -0500 | [diff] [blame] | 669 | linker_flag: "-lstdc++" |
| 670 | linker_flag: "-Ltools/cpp/linaro_linux_gcc/clang_more_libs" |
Austin Schuh | 6166083 | 2016-03-04 21:56:39 -0800 | [diff] [blame] | 671 | linker_flag: "-Lexternal/linaro_linux_gcc_4_9_repo/arm-linux-gnueabihf/lib" |
| 672 | linker_flag: "-Lexternal/linaro_linux_gcc_4_9_repo/arm-linux-gnueabihf/libc/lib" |
| 673 | linker_flag: "-Lexternal/linaro_linux_gcc_4_9_repo/arm-linux-gnueabihf/libc/usr/lib" |
| 674 | linker_flag: "-Bexternal/linaro_linux_gcc_4_9_repo/arm-linux-gnueabihf/bin" |
Brian Silverman | 0d57fc8 | 2016-01-24 21:02:53 -0500 | [diff] [blame] | 675 | linker_flag: "-Wl,--dynamic-linker=/lib/ld-linux-armhf.so.3" |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame^] | 676 | linker_flag: "-no-canonical-prefixes" |
| 677 | linker_flag: "-Wl,-z,relro,-z,now" |
| 678 | linker_flag: "-lm" |
| 679 | linker_flag: "-Wl,--build-id=md5" |
| 680 | linker_flag: "-Wl,--hash-style=gnu" |
| 681 | objcopy_embed_flag: "-I" |
| 682 | objcopy_embed_flag: "binary" |
| 683 | compilation_mode_flags { |
| 684 | mode: OPT |
| 685 | compiler_flag: "-O2" |
| 686 | compiler_flag: "-DNDEBUG" |
| 687 | compiler_flag: "-D_FORTIFY_SOURCE=1" |
| 688 | compiler_flag: "-ffunction-sections" |
| 689 | compiler_flag: "-fdata-sections" |
| 690 | linker_flag: "-Wl,--gc-sections" |
| 691 | } |
| 692 | linking_mode_flags { |
| 693 | mode: DYNAMIC |
| 694 | } |
| 695 | cxx_builtin_include_directory: "%package(@linaro_linux_gcc_4_9_repo//include)%" |
| 696 | cxx_builtin_include_directory: "%package(@linaro_linux_gcc_4_9_repo//arm-linux-gnueabihf/libc/usr/include)%" |
| 697 | cxx_builtin_include_directory: "%package(@linaro_linux_gcc_4_9_repo//arm-linux-gnueabihf/libc/usr/lib/include)%" |
| 698 | cxx_builtin_include_directory: "%package(@linaro_linux_gcc_4_9_repo//arm-linux-gnueabihf/libc/lib/gcc/arm-linux-gnueabihf/4.9.3/include-fixed)%" |
| 699 | cxx_builtin_include_directory: "%package(@linaro_linux_gcc_4_9_repo//include)%/c++/4.9.3" |
| 700 | cxx_builtin_include_directory: "%package(@linaro_linux_gcc_4_9_repo//arm-linux-gnueabihf/libc/lib/gcc/arm-linux-gnueabihf/4.9.3/include)%" |
| 701 | cxx_builtin_include_directory: "%package(@linaro_linux_gcc_4_9_repo//arm-linux-gnueabihf/libc/lib/gcc/arm-linux-gnueabihf/4.9.3/include-fixed)%" |
| 702 | cxx_builtin_include_directory: "%package(@linaro_linux_gcc_4_9_repo//lib/gcc/arm-linux-gnueabihf/4.9.3/include)%" |
| 703 | cxx_builtin_include_directory: "%package(@linaro_linux_gcc_4_9_repo//lib/gcc/arm-linux-gnueabihf/4.9.3/include-fixed)%" |
| 704 | cxx_builtin_include_directory: "%package(@linaro_linux_gcc_4_9_repo//arm-linux-gnueabihf/include)%/c++/4.9.3" |
| 705 | cxx_builtin_include_directory: "/usr/lib/clang/3.6/include" |
| 706 | builtin_sysroot: "" |
| 707 | unfiltered_cxx_flag: "-no-canonical-prefixes" |
| 708 | unfiltered_cxx_flag: "-Wno-builtin-macro-redefined" |
| 709 | unfiltered_cxx_flag: "-D__DATE__=\"redacted\"" |
| 710 | unfiltered_cxx_flag: "-D__TIMESTAMP__=\"redacted\"" |
| 711 | unfiltered_cxx_flag: "-D__TIME__=\"redacted\"" |
| 712 | supports_normalizing_ar: true |
| 713 | supports_start_end_lib: false |
| 714 | supports_interface_shared_objects: false |
| 715 | supports_incremental_linker: false |
| 716 | supports_fission: false |
Brian Silverman | 0d57fc8 | 2016-01-24 21:02:53 -0500 | [diff] [blame] | 717 | feature { |
| 718 | name: "opt" |
Brian Silverman | 0d57fc8 | 2016-01-24 21:02:53 -0500 | [diff] [blame] | 719 | flag_set { |
| 720 | action: "preprocess-assemble" |
| 721 | action: "c-compile" |
| 722 | action: "c++-compile" |
| 723 | action: "c++-header-parsing" |
| 724 | action: "c++-header-preprocessing" |
| 725 | action: "c++-module-compile" |
| 726 | flag_group { |
| 727 | flag: "-DAOS_DEBUG=0" |
| 728 | } |
| 729 | } |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame^] | 730 | implies: "all_modes" |
Brian Silverman | 0d57fc8 | 2016-01-24 21:02:53 -0500 | [diff] [blame] | 731 | } |
Brian Silverman | 0d57fc8 | 2016-01-24 21:02:53 -0500 | [diff] [blame] | 732 | feature { |
| 733 | name: "dbg" |
Brian Silverman | 0d57fc8 | 2016-01-24 21:02:53 -0500 | [diff] [blame] | 734 | flag_set { |
| 735 | action: "preprocess-assemble" |
| 736 | action: "c-compile" |
| 737 | action: "c++-compile" |
| 738 | action: "c++-header-parsing" |
| 739 | action: "c++-header-preprocessing" |
| 740 | action: "c++-module-compile" |
| 741 | flag_group { |
| 742 | flag: "-DAOS_DEBUG=1" |
| 743 | } |
| 744 | flag_group { |
| 745 | flag: "-fno-omit-frame-pointer" |
| 746 | } |
| 747 | } |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame^] | 748 | implies: "all_modes" |
Brian Silverman | 0d57fc8 | 2016-01-24 21:02:53 -0500 | [diff] [blame] | 749 | } |
Brian Silverman | 0d57fc8 | 2016-01-24 21:02:53 -0500 | [diff] [blame] | 750 | feature { |
| 751 | name: "fastbuild" |
Brian Silverman | 0d57fc8 | 2016-01-24 21:02:53 -0500 | [diff] [blame] | 752 | flag_set { |
| 753 | action: "preprocess-assemble" |
| 754 | action: "c-compile" |
| 755 | action: "c++-compile" |
| 756 | action: "c++-header-parsing" |
| 757 | action: "c++-header-preprocessing" |
| 758 | action: "c++-module-compile" |
| 759 | flag_group { |
| 760 | flag: "-DAOS_DEBUG=0" |
| 761 | } |
| 762 | } |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame^] | 763 | implies: "all_modes" |
Brian Silverman | 0d57fc8 | 2016-01-24 21:02:53 -0500 | [diff] [blame] | 764 | } |
Brian Silverman | 0d57fc8 | 2016-01-24 21:02:53 -0500 | [diff] [blame] | 765 | feature { |
| 766 | name: "all_modes" |
| 767 | flag_set { |
| 768 | action: "preprocess-assemble" |
| 769 | action: "assemble" |
| 770 | action: "c-compile" |
| 771 | flag_group { |
| 772 | flag: "-std=gnu99" |
| 773 | } |
| 774 | } |
| 775 | flag_set { |
| 776 | action: "c++-compile" |
| 777 | action: "c++-header-parsing" |
| 778 | action: "c++-header-preprocessing" |
| 779 | action: "c++-module-compile" |
| 780 | flag_group { |
| 781 | flag: "-std=gnu++1y" |
| 782 | } |
| 783 | } |
| 784 | flag_set { |
| 785 | action: "preprocess-assemble" |
| 786 | action: "assemble" |
| 787 | action: "c++-link" |
| 788 | action: "c++-compile" |
| 789 | action: "c++-header-parsing" |
| 790 | action: "c++-header-preprocessing" |
| 791 | action: "c++-module-compile" |
| 792 | action: "c-compile" |
| 793 | flag_group { |
Brian Silverman | 0d57fc8 | 2016-01-24 21:02:53 -0500 | [diff] [blame] | 794 | flag: "-pthread" |
| 795 | } |
| 796 | } |
| 797 | } |
Austin Schuh | 137d945 | 2018-07-07 15:42:36 -0700 | [diff] [blame] | 798 | feature { |
| 799 | name: "pie_for_linking" |
Austin Schuh | 137d945 | 2018-07-07 15:42:36 -0700 | [diff] [blame] | 800 | flag_set { |
| 801 | action: "c++-link-executable" |
| 802 | flag_group { |
| 803 | flag: "-pie" |
| 804 | } |
| 805 | } |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame^] | 806 | enabled: true |
Austin Schuh | 137d945 | 2018-07-07 15:42:36 -0700 | [diff] [blame] | 807 | } |
Brian Silverman | 0d57fc8 | 2016-01-24 21:02:53 -0500 | [diff] [blame] | 808 | } |
Brian Silverman | 8b63869 | 2017-06-26 23:10:26 -0700 | [diff] [blame] | 809 | toolchain { |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame^] | 810 | toolchain_identifier: "cortex-m4f" |
| 811 | host_system_name: "local" |
| 812 | target_system_name: "cortex-m4f" |
| 813 | target_cpu: "cortex-m4f" |
| 814 | target_libc: "cortex-m4f" |
| 815 | compiler: "gcc" |
Brian Silverman | 8b63869 | 2017-06-26 23:10:26 -0700 | [diff] [blame] | 816 | abi_version: "cortex-m4f" |
| 817 | abi_libc_version: "cortex-m4f" |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame^] | 818 | tool_path { |
| 819 | name: "ar" |
| 820 | path: "/usr/bin/arm-none-eabi-ar" |
| 821 | } |
| 822 | tool_path { |
| 823 | name: "compat-ld" |
| 824 | path: "/usr/bin/arm-none-eabi-ld" |
| 825 | } |
| 826 | tool_path { |
| 827 | name: "cpp" |
| 828 | path: "/usr/bin/arm-none-eabi-cpp" |
| 829 | } |
| 830 | tool_path { |
| 831 | name: "dwp" |
| 832 | path: "/usr/bin/arm-none-eabi-dwp" |
| 833 | } |
| 834 | tool_path { |
| 835 | name: "gcc" |
| 836 | path: "/usr/bin/arm-none-eabi-gcc" |
| 837 | } |
| 838 | tool_path { |
| 839 | name: "gcov" |
| 840 | path: "/usr/bin/arm-none-eabi-gcov" |
| 841 | } |
| 842 | tool_path { |
| 843 | name: "ld" |
| 844 | path: "/usr/bin/arm-none-eabi-ld" |
| 845 | } |
| 846 | tool_path { |
| 847 | name: "nm" |
| 848 | path: "/usr/bin/arm-none-eabi-nm" |
| 849 | } |
| 850 | tool_path { |
| 851 | name: "objcopy" |
| 852 | path: "/usr/bin/arm-none-eabi-objcopy" |
| 853 | } |
| 854 | tool_path { |
| 855 | name: "objdump" |
| 856 | path: "/usr/bin/arm-none-eabi-objdump" |
| 857 | } |
| 858 | tool_path { |
| 859 | name: "strip" |
| 860 | path: "/usr/bin/arm-none-eabi-strip" |
| 861 | } |
Brian Silverman | 8b63869 | 2017-06-26 23:10:26 -0700 | [diff] [blame] | 862 | supports_gold_linker: false |
Brian Silverman | 8b63869 | 2017-06-26 23:10:26 -0700 | [diff] [blame] | 863 | supports_thin_archives: false |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame^] | 864 | needsPic: false |
| 865 | compiler_flag: "-D__STDC_FORMAT_MACROS" |
| 866 | compiler_flag: "-D__STDC_CONSTANT_MACROS" |
| 867 | compiler_flag: "-D__STDC_LIMIT_MACROS" |
| 868 | compiler_flag: "-D__MK64FX512__" |
| 869 | compiler_flag: "-DF_CPU=120000000" |
| 870 | compiler_flag: "-Wl,--gc-sections" |
| 871 | compiler_flag: "-D__have_long32" |
| 872 | compiler_flag: "-fstack-protector" |
| 873 | compiler_flag: "-mcpu=cortex-m4" |
| 874 | compiler_flag: "-mfpu=fpv4-sp-d16" |
| 875 | compiler_flag: "-mthumb" |
| 876 | compiler_flag: "-mfloat-abi=hard" |
| 877 | compiler_flag: "-fno-strict-aliasing" |
| 878 | compiler_flag: "-fmessage-length=80" |
| 879 | compiler_flag: "-fmax-errors=20" |
| 880 | compiler_flag: "-Wall" |
| 881 | compiler_flag: "-Wextra" |
| 882 | compiler_flag: "-Wpointer-arith" |
| 883 | compiler_flag: "-Wcast-qual" |
| 884 | compiler_flag: "-Wwrite-strings" |
| 885 | compiler_flag: "-Wtype-limits" |
| 886 | compiler_flag: "-Wsign-compare" |
| 887 | compiler_flag: "-Wformat=2" |
| 888 | compiler_flag: "-Werror" |
| 889 | compiler_flag: "-Wstrict-aliasing=2" |
| 890 | compiler_flag: "-Wdouble-promotion" |
| 891 | compiler_flag: "-pipe" |
| 892 | compiler_flag: "-g" |
| 893 | compiler_flag: "-fno-common" |
| 894 | compiler_flag: "-ffreestanding" |
| 895 | compiler_flag: "-fbuiltin" |
| 896 | linker_flag: "-no-canonical-prefixes" |
| 897 | linker_flag: "-mcpu=cortex-m4" |
| 898 | linker_flag: "-mfpu=fpv4-sp-d16" |
| 899 | linker_flag: "-mthumb" |
| 900 | linker_flag: "-mfloat-abi=hard" |
| 901 | linker_flag: "-fno-strict-aliasing" |
| 902 | linker_flag: "--specs=nano.specs" |
| 903 | linker_flag: "-lgcc" |
| 904 | linker_flag: "-lstdc++" |
| 905 | linker_flag: "-lm" |
| 906 | linker_flag: "-lc" |
| 907 | linker_flag: "-Tmotors/core/mk64fx512.ld" |
Brian Silverman | 8b63869 | 2017-06-26 23:10:26 -0700 | [diff] [blame] | 908 | objcopy_embed_flag: "-I" |
| 909 | objcopy_embed_flag: "binary" |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame^] | 910 | compilation_mode_flags { |
| 911 | mode: OPT |
| 912 | compiler_flag: "-O2" |
| 913 | compiler_flag: "-finline-functions" |
| 914 | compiler_flag: "-ffast-math" |
| 915 | compiler_flag: "-funroll-loops" |
| 916 | compiler_flag: "-DNDEBUG" |
| 917 | compiler_flag: "-ffunction-sections" |
| 918 | linker_flag: "-Wl,--gc-sections" |
| 919 | } |
| 920 | linking_mode_flags { |
| 921 | mode: FULLY_STATIC |
| 922 | } |
| 923 | cxx_builtin_include_directory: "/usr/lib/gcc/arm-none-eabi/4.8/include" |
| 924 | cxx_builtin_include_directory: "/usr/lib/gcc/arm-none-eabi/4.8/include-fixed" |
| 925 | cxx_builtin_include_directory: "/usr/lib/arm-none-eabi/include" |
| 926 | cxx_builtin_include_directory: "/usr/include/newlib" |
| 927 | builtin_sysroot: "" |
| 928 | unfiltered_cxx_flag: "-no-canonical-prefixes" |
| 929 | unfiltered_cxx_flag: "-Wno-builtin-macro-redefined" |
| 930 | unfiltered_cxx_flag: "-D__DATE__=\"redacted\"" |
| 931 | unfiltered_cxx_flag: "-D__TIMESTAMP__=\"redacted\"" |
| 932 | unfiltered_cxx_flag: "-D__TIME__=\"redacted\"" |
| 933 | supports_normalizing_ar: false |
| 934 | supports_start_end_lib: false |
| 935 | supports_interface_shared_objects: false |
| 936 | supports_incremental_linker: false |
| 937 | supports_fission: false |
Brian Silverman | 8b63869 | 2017-06-26 23:10:26 -0700 | [diff] [blame] | 938 | feature { |
| 939 | name: "dbg" |
Brian Silverman | 8b63869 | 2017-06-26 23:10:26 -0700 | [diff] [blame] | 940 | flag_set { |
| 941 | action: "preprocess-assemble" |
| 942 | action: "c-compile" |
| 943 | action: "c++-compile" |
| 944 | action: "c++-header-parsing" |
| 945 | action: "c++-header-preprocessing" |
| 946 | action: "c++-module-compile" |
| 947 | flag_group { |
| 948 | flag: "-fno-omit-frame-pointer" |
| 949 | } |
| 950 | } |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame^] | 951 | implies: "all_modes" |
Brian Silverman | 8b63869 | 2017-06-26 23:10:26 -0700 | [diff] [blame] | 952 | } |
Brian Silverman | 8b63869 | 2017-06-26 23:10:26 -0700 | [diff] [blame] | 953 | feature { |
| 954 | name: "opt" |
| 955 | implies: "all_modes" |
| 956 | } |
| 957 | feature { |
| 958 | name: "fastbuild" |
| 959 | implies: "all_modes" |
| 960 | } |
Brian Silverman | 8b63869 | 2017-06-26 23:10:26 -0700 | [diff] [blame] | 961 | feature { |
| 962 | name: "all_modes" |
| 963 | flag_set { |
| 964 | action: "preprocess-assemble" |
| 965 | action: "assemble" |
| 966 | action: "c-compile" |
| 967 | flag_group { |
| 968 | flag: "--std=gnu99" |
| 969 | } |
| 970 | } |
| 971 | flag_set { |
| 972 | action: "c++-compile" |
| 973 | action: "c++-header-parsing" |
| 974 | action: "c++-header-preprocessing" |
| 975 | action: "c++-module-compile" |
| 976 | flag_group { |
| 977 | flag: "--std=gnu++11" |
| 978 | flag: "-fno-exceptions" |
| 979 | flag: "-fno-rtti" |
| 980 | } |
| 981 | } |
| 982 | } |
Brian Silverman | 8b63869 | 2017-06-26 23:10:26 -0700 | [diff] [blame] | 983 | feature { |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame^] | 984 | name: "include_paths" |
Brian Silverman | 8b63869 | 2017-06-26 23:10:26 -0700 | [diff] [blame] | 985 | flag_set { |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame^] | 986 | action: "preprocess-assemble" |
| 987 | action: "c-compile" |
| 988 | action: "c++-compile" |
| 989 | action: "c++-header-parsing" |
| 990 | action: "c++-header-preprocessing" |
| 991 | action: "c++-module-compile" |
Brian Silverman | 8b63869 | 2017-06-26 23:10:26 -0700 | [diff] [blame] | 992 | flag_group { |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame^] | 993 | flag: "-iquote" |
| 994 | flag: "%{quote_include_paths}" |
| 995 | iterate_over: "quote_include_paths" |
Brian Silverman | 8b63869 | 2017-06-26 23:10:26 -0700 | [diff] [blame] | 996 | } |
| 997 | flag_group { |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame^] | 998 | flag: "-I%{include_paths}" |
| 999 | iterate_over: "include_paths" |
Brian Silverman | 8b63869 | 2017-06-26 23:10:26 -0700 | [diff] [blame] | 1000 | } |
| 1001 | flag_group { |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame^] | 1002 | flag: "-I" |
| 1003 | flag: "%{system_include_paths}" |
| 1004 | iterate_over: "system_include_paths" |
Brian Silverman | 8b63869 | 2017-06-26 23:10:26 -0700 | [diff] [blame] | 1005 | } |
| 1006 | } |
| 1007 | } |
| 1008 | } |