Serge Bazanski | 9e861a8 | 2020-09-16 13:46:41 +0200 | [diff] [blame] | 1 | %rename cpp_options old_cpp_options |
| 2 | |
| 3 | *cpp_options: |
| 4 | -nostdinc %(old_cpp_options) -isystem external/musl_sysroot/include |
| 5 | |
| 6 | *cc1: |
| 7 | %(cc1_cpu) -nostdinc -isystem external/musl_sysroot/include |
| 8 | |
| 9 | *link_libgcc: |
| 10 | -L .%s -L external/musl_sysroot/lib |
| 11 | |
| 12 | *libgcc: |
| 13 | libgcc.a%s %:if-exists(libgcc_eh.a%s) |
| 14 | |
| 15 | *startfile: |
| 16 | %{!shared: external/musl_sysroot/lib/Scrt1.o} external/musl_sysroot/lib/crti.o crtbeginS.o%s |
| 17 | |
| 18 | *endfile: |
| 19 | crtendS.o%s external/musl_sysroot/lib/crtn.o |
| 20 | |
| 21 | *link: |
| 22 | -nostdlib -no-dynamic-linker -static %{rdynamic:-export-dynamic} |
| 23 | |
| 24 | *esp_link: |
| 25 | |
| 26 | |
| 27 | *esp_options: |
| 28 | |
| 29 | |
| 30 | *esp_cpp_options: |
| 31 | |
| 32 | |