foundry
Foundry OS: the operating system built on the Rustbelt kernel
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 @SYSROOT@/include -isystem include%s %(old_cpp_options)
*cc1:
%(cc1_cpu) -nostdinc -isystem @SYSROOT@/include -isystem include%s
*link_libgcc:
-L@SYSROOT@/lib -L .%s
*libgcc:
libgcc.a%s %:if-exists(libgcc_eh.a%s)
*startfile:
%{shared:;static-pie:@SYSROOT@/lib/rcrt1.o; :@SYSROOT@/lib/Scrt1.o} @SYSROOT@/lib/crti.o crtbeginS.o%s
*endfile:
crtendS.o%s @SYSROOT@/lib/crtn.o
*link:
-dynamic-linker /lib/ld-musl-x86_64.so.1 -nostdlib %{shared:-shared} %{static:-static} %{static-pie:-static -pie --no-dynamic-linker} %{rdynamic:-export-dynamic}
*esp_link:
*esp_options:
*esp_cpp_options:
|