blob: c726fe573b0db6e4e178baae0d46472fdad5ec94 [file] [log] [blame]
Serge Bazanski9e861a82020-09-16 13:46:41 +02001%rename cpp_options old_cpp_options
2
3*cpp_options:
Serge Bazanski9fd3c3d2023-06-20 13:18:36 +02004-nostdinc %(old_cpp_options) -isystem $SYSROOT/include
Serge Bazanski9e861a82020-09-16 13:46:41 +02005
6*cc1:
Serge Bazanski9fd3c3d2023-06-20 13:18:36 +02007%(cc1_cpu) -nostdinc -isystem $SYSROOT/include
Serge Bazanski9e861a82020-09-16 13:46:41 +02008
9*link_libgcc:
Serge Bazanski9fd3c3d2023-06-20 13:18:36 +020010-L .%s -L %R/lib
Serge Bazanski9e861a82020-09-16 13:46:41 +020011
12*libgcc:
13libgcc.a%s %:if-exists(libgcc_eh.a%s)
14
15*startfile:
Serge Bazanski9fd3c3d2023-06-20 13:18:36 +020016%{!shared: %R/lib/Scrt1.o} %R/lib/crti.o crtbeginS.o%s
Serge Bazanski9e861a82020-09-16 13:46:41 +020017
18*endfile:
Serge Bazanski9fd3c3d2023-06-20 13:18:36 +020019crtendS.o%s %R/lib/crtn.o
Serge Bazanski9e861a82020-09-16 13:46:41 +020020
21*link:
Serge Bazanski9fd3c3d2023-06-20 13:18:36 +020022-no-dynamic-linker -nostdlib -static %{rdynamic:-export-dynamic}
Serge Bazanski9e861a82020-09-16 13:46:41 +020023
24*esp_link:
25
26
27*esp_options:
28
29
30*esp_cpp_options:
31
32