ioctl: add fallback for new time64 SIOCGSTAMP[NS]
[musl.git] / tools / musl-gcc.specs.sh
blob3049257446e113b0fc745f8efeb3e2b101e07798
1 incdir=$1
2 libdir=$2
3 ldso=$3
4 cat <<EOF
5 %rename cpp_options old_cpp_options
7 *cpp_options:
8 -nostdinc -isystem $incdir -isystem include%s %(old_cpp_options)
10 *cc1:
11 %(cc1_cpu) -nostdinc -isystem $incdir -isystem include%s
13 *link_libgcc:
14 -L$libdir -L .%s
16 *libgcc:
17 libgcc.a%s %:if-exists(libgcc_eh.a%s)
19 *startfile:
20 %{!shared: $libdir/Scrt1.o} $libdir/crti.o crtbeginS.o%s
22 *endfile:
23 crtendS.o%s $libdir/crtn.o
25 *link:
26 -dynamic-linker $ldso -nostdlib %{shared:-shared} %{static:-static} %{rdynamic:-export-dynamic}
28 *esp_link:
31 *esp_options:
34 *esp_cpp_options:
37 EOF