aboutsummaryrefslogtreecommitdiff
path: root/lib/mlibc/sysdeps/linux/mlibc-gcc.specs.in
blob: 4304c4d89e705225e2abd3cd5976cd7fbb7aa703 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
%rename cpp_options old_cpp_options

*cpp_options:
-nostdinc -isystem @PREFIX@/include -isystem include%s %(old_cpp_options)

*cc1:
%(cc1_cpu) -nostdinc -isystem @PREFIX@/include -isystem include%s

*link_libgcc:
-L@PREFIX@/@LIBDIR@ -L .%s

*libgcc:
libgcc.a%s %:if-exists(libgcc_eh.a%s)

*startfile:
%{!shared: @PREFIX@/@LIBDIR@/Scrt1.o} @PREFIX@/@LIBDIR@/crti.o crtbeginS.o%s

*endfile:
crtendS.o%s @PREFIX@/@LIBDIR@/crtn.o

*link:
-dynamic-linker @PREFIX@/@LIBDIR@/ld.so -rpath @PREFIX@/@LIBDIR@ -nostdlib %{shared:-shared} %{static:-static} %{rdynamic:-export-dynamic}

*esp_link:


*esp_options:


*esp_cpp_options: