all: use compiler-rt for builtins

This commit is contained in:
Ayke van Laethem
2018-10-07 17:37:27 +02:00
parent e8f211935e
commit 22da104530
11 changed files with 350 additions and 13 deletions
+2
View File
@@ -2,6 +2,7 @@
"llvm-target": "armv6m-none-eabi",
"build-tags": ["microbit", "nrf51822", "nrf51", "nrf", "arm", "js", "wasm"],
"linker": "arm-none-eabi-gcc",
"compiler-rt": true,
"pre-link-args": [
"-nostdlib",
"-nostartfiles",
@@ -11,6 +12,7 @@
"-Wl,--gc-sections",
"-fno-exceptions", "-fno-unwind-tables",
"-ffunction-sections", "-fdata-sections",
"-fno-short-enums",
"-Os",
"-DNRF51",
"-Ilib/CMSIS/CMSIS/Include",