9a9b91c940
It's finally done.. Signed-off-by: kaguya <vpshinomiya@protonmail.com>
33 lines
623 B
Plaintext
33 lines
623 B
Plaintext
%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:
|
|
|
|
|