all: improve compiler-rt compilation

A few changes to make sure compiler-rt is correctly compiled (and
doesn't include host headers, for example).

This improves support for AVR, but it still doesn't work. Compiler-rt
itself doesn't really work for AVR either.
This commit is contained in:
Ayke van Laethem
2018-10-07 21:29:45 +02:00
parent 73709922b2
commit 1bbdab41d2
3 changed files with 9 additions and 2 deletions
-1
View File
@@ -12,7 +12,6 @@
"-Wl,--gc-sections",
"-fno-exceptions", "-fno-unwind-tables",
"-ffunction-sections", "-fdata-sections",
"-fno-short-enums",
"-Os",
"-DNRF51",
"-Ilib/CMSIS/CMSIS/Include",