/usr/lib/x86_64-linux-musl/musl-gcc.specs is in musl-tools 1.1.19-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 | %rename cpp_options old_cpp_options
*cpp_options:
-nostdinc -isystem /usr/include/x86_64-linux-musl -isystem include%s %(old_cpp_options)
*cc1:
%(cc1_cpu) -nostdinc -isystem /usr/include/x86_64-linux-musl -isystem include%s
*link_libgcc:
-L/usr/lib/x86_64-linux-musl -L .%s
*libgcc:
libgcc.a%s %:if-exists(libgcc_eh.a%s)
*startfile:
%{!shared: /usr/lib/x86_64-linux-musl/%{pie:S}crt1.o} /usr/lib/x86_64-linux-musl/crti.o %{shared|pie:crtbeginS.o%s;:crtbegin.o%s}
*endfile:
%{shared|pie:crtendS.o%s;:crtend.o%s} /usr/lib/x86_64-linux-musl/crtn.o
*link:
-dynamic-linker /lib/ld-musl-x86_64.so.1 -nostdlib %{shared:-shared} %{static:-static} %{rdynamic:-export-dynamic}
*esp_link:
*esp_options:
*esp_cpp_options:
|