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